This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14047] New: 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 02:10:27 +0000
- Subject: [Bug libc/14047] New: strtof gives spurious ERANGE errors
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14047
Bug #: 14047
Summary: strtof gives spurious ERANGE errors
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: bugdal@aerifal.cx
CC: drepper.fsp@gmail.com
Classification: Unclassified
strtof("1.40129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125e-45",
0) sets errno to ERANGE (presumably considering this an underflow condition),
despite the fact that exact denormal results are specified not to be considered
an underflow. (The decimal string is the exact value of 0x1p-149, the smallest
positive single precision float.)
--
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.