Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!mephisto!udel!haven!decuac!shlump.nac.dec.com!riscy.enet.dec.com!croton!frank From: frank@croton.enet.dec.com (Frank Wortner) Newsgroups: comp.unix.ultrix Subject: Re: Determining IEEE NaN and INF on RISC Ultrix Keywords: IEEE NaN INF MIPS low-endian Message-ID: <1732@riscy.enet.dec.com> Date: 24 Sep 90 13:41:43 GMT References: <59582@bbn.BBN.COM> Sender: newsdaemon@riscy.enet.dec.com Reply-To: frank@croton.enet.dec.com (Frank Wortner) Organization: Digital Equipment Corporation Lines: 9 The ULTRIX 4.0 distribution includes a fixed /usr/include/nan.h file. If you can't upgrade, your could try just reversing the bit fields in the nan.h file. For example, in the inf_parts structure, the fraction_low bit field is the first instead of the last. Regards, Frank