isnan()
Robert Schweikert
rjschwei@cox.net
Tue Mar 1 02:32:00 GMT 2005
There's a comment in the file about the processors that comply with IEEE
"IEEE compliant processors are X86, X86-64, Itanium, Sparc, HP-Alpha,
IBM-Power"
MIPS and PA-RISC are reversed.
If you initialize a double with an SNaN (0x7FFBFFFFFFFFFFFF) and then
call the isnan() function supplied by glibc (any C RTE I've tested for
that matter) the function returns false, i.e. SNaN is not recognized as
a NaN, which IMHO it shold be.
Thanks,
Robert
On Mon, 2005-02-28 at 17:41 -0800, Ulrich Drepper wrote:
> You do not even mention which architecture. All architectures I care
> about have no problems.
>
> --
> â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â
--
Robert Schweikert MAY THE SOURCE BE WITH YOU
rjschwei@cox.net LINUX
More information about the Libc-alpha
mailing list