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: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 02 May 2012 15:09:43 +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 #2 from Rich Felker <bugdal at aerifal dot cx> 2012-05-02 15:09:43 UTC ---
The language you cited seems self-contradictory, unless I'm missing some
context. First it says that in the case we're interested in, "no flag is raised
and no inexact exception is signaled." Then it goes on to talk about how this
case is (pardon the pun) exceptional and about "an exception signal receiving
default handling that does not raise the corresponding flag". I don't
understand at all why the second half of that was written and what it's
intended to mean.
With that said, I think the condition "no observable effect under default
handling" would be contradicted by decimal-string-to-float conversion returning
an indication of underflow.
--
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.