This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/5717] New: pow() function on 486sx returns incorrect results
- From: "kborys at yahoo dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 2 Feb 2008 19:44:21 -0000
- Subject: [Bug math/5717] New: pow() function on 486sx returns incorrect results
- Reply-to: sourceware-bugzilla at sourceware dot org
Bug discovered on x486sx without math co-processor (387). glibc-2.7 used and
configured with option "--without-fp".
TEST: pow(10.0, 3.0) returns 1023.972657
Inspected the source of "sysdeps/ieee754/dbl-64". My finding is that when math
is emulated pow() is virtualy __ieee754_pow(). So, I compiled __ieee754_pow() on
Fedora 8 modern PC for glibc2.7 and glibc2.4 to duplicated the problem. Surely,
in both cases
__ieee754_pow(10.0, 3.0) returns 1023.972657
--
Summary: pow() function on 486sx returns incorrect results
Product: glibc
Version: unspecified
Status: NEW
Severity: critical
Priority: P2
Component: math
AssignedTo: aj at suse dot de
ReportedBy: kborys at yahoo dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5717
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.