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 math/3406] New: expf(x) gives infinity where correctly rounded result is finite


glibc-2.3.4-2.19
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)

The attached sample program takes expf(x) and float(exp(x)) for a number x 
such that the exponential is ALMOST +INF in 32-bit floating point. expf(x) 
returns (incorrectly) INF, where float(exp(x)) is finite.

-- 
           Summary: expf(x) gives infinity where correctly rounded result is
                    finite
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: minor
          Priority: P2
         Component: math
        AssignedTo: aj at suse dot de
        ReportedBy: myles at peakstreaminc dot com
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: 2.6.9-34.ELsmp


http://sourceware.org/bugzilla/show_bug.cgi?id=3406

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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