This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: isnan()


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]