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/14047] strtof gives spurious ERANGE errors


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.


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