This is the mail archive of the glibc-bugs@sourceware.org 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]

[Bug libc/13246] RFE: strtold: do not include uninitialized bytes when converting "NaN"


http://sourceware.org/bugzilla/show_bug.cgi?id=13246

--- Comment #11 from Rich Felker <bugdal at aerifal dot cx> 2011-10-06 12:39:06 UTC ---
OK, it's the test program and GNU sort that are wrong (reading padding bits).
Unfortunately I don't see a portable way to "compare" NaNs like this. But if
they're being read from strings, why not just compare the string form when the
value is NaN?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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