This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14047] strtof gives spurious ERANGE errors
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 03 May 2012 11:14:42 +0000
- Subject: [Bug libc/14047] strtof gives spurious ERANGE errors
- Auto-submitted: auto-generated
- References: <bug-14047-131@http.sourceware.org/bugzilla/>
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.