From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3ba50fef6fc1db1e,start X-Google-Attributes: gidfee84,public From: frank@ned.dem.csiro.au (Frank Horowitz) Subject: Signaling NaN under dUnix 3.2??? Date: 1995/11/08 Message-ID: #1/1 X-Deja-AN: 118866437 organization: Dunno, it's around here somewhere... newsgroups: comp.unix.osf.osf1 Does anyone know how to return a Signaling NaN in a C double under dUnix 3.2? Under SunOs, there is a system call "signaling_nan" that returns such a value. dUnix has no such call. Have I missed something in the man pages? The bit pattern for both positive and negative signaling NaN is defined in /usr/include/machine/fpu.h... I've tried stuffing one into a union between the appropriate type of int and a double, but with no success. Any hints??? Thanks in advance. -- Frank Horowitz frank@ned.dem.csiro.au CSIRO-Exploration & Mining, PO Box 437, Nedlands, WA 6009, AUSTRALIA Tel. (09)389-8421 (Int'l +61 9 389 8421), FAX (09)389-1906 (+61 9 389 1906)