home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!redwood.CS.Berkeley.EDU!jhauser
- From: jhauser@redwood.CS.Berkeley.EDU (John Hauser)
- Newsgroups: comp.lang.fortran
- Subject: Re: Ignoring Least Significant Bit in a Real Compare
- Date: 26 Aug 1992 00:06:00 GMT
- Organization: University of California at Berkeley
- Lines: 20
- Distribution: usa
- Message-ID: <17eht8INN1o8@agate.berkeley.edu>
- References: <1992Aug21.203055.29668@aero.org> <1992Aug24.185047.27463@news.eng.convex.com> <3634@execu.execu.com>
- NNTP-Posting-Host: redwood.cs.berkeley.edu
-
- In article <3634@execu.execu.com> mike@execu.execu.com (Mike McCants) writes:
- >In article <1992Aug24.185047.27463@news.eng.convex.com> joelw@convex.com (Joel Williamson) writes:
- >>>I am working on a 60-bit CDC machine in Fortran-4.
- >>> REQ = .FALSE.
- >>> IF (ABS(X1-X2) .LT. EPS) REQ = .TRUE.
- >
- >>In article <1992Aug21.203055.29668@aero.org> wae@aero.org (William A. Emanuelsen) writes:
- >>try:
- >> J = I1 .OR. I2
- > ^^
- >Inclusive or?!
- >Exclusive or [.XOR. or XOR(I1,I2)?] is correct.
- >
- >> REQ = (J.EQ.1) .OR. (J.EQ.0)
-
- Neither is correct. (Hint: 3 XOR 4 = 7.)
-
- ----------------------------------------------------------------------------
- Boycott redwood. Boycott Louisiana-Pacific. Keep the forests. YYYYYYYYYYY
- John Hauser---jhauser@cs.berkeley.edu YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
-