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/3407] powf gives inaccurate results on x86_64


------- 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.


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