Xref: utzoo comp.lang.c:26064 comp.sys.ibm.pc.programmer:24 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uwm.edu!dogie.macc.wisc.edu!uwvax!umn-d-ub!cs.umn.edu!nis!wd0gol!newave!john From: john@newave.UUCP (John A. Weeks III) Newsgroups: comp.lang.c,comp.sys.ibm.pc.programmer Subject: Not A Number in IEEE Math Keywords: IEEE floating point Message-ID: <44@newave.UUCP> Date: 16 Feb 90 05:13:29 GMT Reply-To: john@newave.UUCP (John A. Weeks III) Followup-To: comp.lang.c Organization: NeWave Communications Ltd, Eden Prairie, MN Lines: 23 My understanding of the NaN (not a number) value in IEEE math is that once you get NaN, the operators +, -, /, *, and = are supposed to propagate the NaN value. Is my understanding correct? Well, while using MetaWare's HIGH-C compiler for the 80386 chip, I have discovered that: NaN / NaN = 1.0 and 0.0 * NaN = 0.0. Is this correct behavior? I think HIGH-C is broken... -john- -- =============================================================================== John A. Weeks III (612) 942-6969 john@newave.mn.org NeWave Communications ...uunet!rosevax!bungia!wd0gol!newave!john ===============================================================================