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/10404] strtod of very small number returns with errno set to ERANGE


------- Additional Comments From orion at cora dot nwra dot com  2009-07-16 21:21 -------
I guess it depends on what you think "cannot be represented, without
extraordinary roundoff error" (definition of underflow from the C99 standard
[7.12.1.5]) means.  5.3049894774131808e-315 compared to 5.30498947741318e-315
does not appear to me to have "extraordinary roundoff error".  I would suggest
that something other than a simple comparison with 2.2250738585072014E-308 for
triggering ERANGE is in order.

-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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