This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/3407] powf gives inaccurate results on x86_64
- 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:44:14 -0000
- Subject: [Bug math/3407] powf gives inaccurate results on x86_64
- References: <20061022004033.3407.myles@peakstreaminc.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From myles at peakstreaminc dot com 2006-10-22 00:44 -------
Created an attachment (id=1384)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1384&action=view)
test program
OUTPUT on x86_64 system
-----------------------
x is 0.843334257602691650390625
y is -370
pow(x,y) is 2399359442378151177461170176
powf(x,y) is 2399362098709297791636602880
fractional error 1.1071e-06
------------------------------------
Output on 32 bit system (CORRECT!)
----------------------------------
x is 0.843334257602691650390625
y is -370
pow(x,y) is 2399359442378151177461170176
powf(x,y) is 2399359442378151177461170176
fractional error 0
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3407
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.