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] New: strtof gives spurious ERANGE errors


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.


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