* Signaling NaN under dUnix 3.2???
@ 1995-11-08 5:00 Frank Horowitz
0 siblings, 0 replies; only message in thread
From: Frank Horowitz @ 1995-11-08 5:00 UTC (permalink / raw)
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-11-08 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-08 5:00 Signaling NaN under dUnix 3.2??? Frank Horowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox