Determining IEEE NaN and INF on RISC Ultrix

Fletcher Kittredge fkittred at bbn.com
Sat Sep 22 00:52:19 AEST 1990


I need to determine whether a double precision floating point number is
a IEEE NaN or INF (+ or -) value on Sun, HP and DEC RISC systems.  Sun
and HP supply the isnan() and isinf() functions.  I can't find these
functions on the DEC systems.  There is a include file called
/usr/include/nan.h which seems to have macros for determining these
values, but the macros seem to be for a high-endian MIPS system, not
DEC's low-endian version.

Can anyone help me with this?

thanks!
fletcher


Fletcher E. Kittredge  fkittred at bbn.com
Platforms and Tools Group
BBN Software Products Company
10 Fawcett St.
Cambridge, MA. 02138



More information about the Comp.unix.ultrix mailing list