This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
NaN #defines
- To: libc-hacker@cygnus.com
- Subject: NaN #defines
- From: Zack Weinberg <zack@rabi.phys.columbia.edu>
- Date: Tue, 16 Jun 1998 18:26:43 -0400
We currently define NAN to be a single precision quiet NaN. All
other unqualified math #defines are doubles; this is an odd
inconsistency. Also, there's no way to get a signalling NaN. Perhaps we
should extend the definitions?
NAN double, quiet
NANf single, quiet
NANl extended, quiet
NANs double, signal
NANfs single, signal
NANls extended, signal
Also, bits/nan.h isn't being included by math.h -- is this intentional?
zw