This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/3406] New: expf(x) gives infinity where correctly rounded result is finite
- From: "myles at peakstreaminc dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Oct 2006 00:22:33 -0000
- Subject: [Bug math/3406] New: expf(x) gives infinity where correctly rounded result is finite
- Reply-to: sourceware-bugzilla at sourceware dot org
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.