[Bug libc/14047] strtof gives spurious ERANGE errors

joseph at codesourcery dot com sourceware-bugzilla@sourceware.org
Thu May 3 11:14:00 GMT 2012


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

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-05-03 11:14:42 UTC ---
Jim Thomas confirms underflow does mean inexact underflow (flag raised), 
so this is indeed a bug.  Also, as strtod is an operation producing a 
binary result it should be consistent with the architecture-specific 
choice of whether underflow is detected before or after rounding (for 
round-to-nearest, the architecture-specific cases will those at least 
three quarters of the way from the largest subnormal to the smallest 
normal).

-- 
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.



More information about the Glibc-bugs mailing list