Related articles |
---|
[5 earlier articles] |
Re: IEEE arithmetic handling eggert@twinsun.com (1992-11-17) |
Re: IEEE arithmetic handling tmb@arolla.idiap.ch (1992-11-18) |
Re: IEEE arithmetic handling bart@cs.uoregon.edu (1992-11-19) |
Re: IEEE arithmetic handling bill@amber.csd.harris.com (1992-11-20) |
Re: IEEE arithmetic handling bill@amber.csd.harris.com (1992-11-20) |
Re: IEEE arithmetic handling Dik.Winter@cwi.nl (1992-11-23) |
Re: IEEE arithmetic handling bright@nazgul.uucp (Walter Bright) (1993-01-07) |
Newsgroups: | comp.compilers |
From: | Walter Bright <bright@nazgul.uucp> |
Organization: | Compilers Central |
Date: | Thu, 7 Jan 1993 08:10:45 GMT |
Keywords: | optimize, arithmetic |
References: | 92-11-041 |
jim@meiko.co.uk (James Cownie) writes:
/Another area where IEEE seems never to be implemented correctly by
/compilers is in the handling of Not a Numbers (NaNs).
/Similarly (and I've never seen this handled right in an optimising
/compilation),
/ IF (X .ne. X) THEN
/ print *,'X is a NaN'
/ ELSE
/ print *,'X is a number'
Zortech C/C++ 3.0 does implement and handle these cases correctly,
even when optimized (!)
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.