mathlib pow gives bad result
mathlib pow gives bad result
Dear Darwin developers,
I've discovered that my program works differently on PowerPC running Mac OS
X 10.4.6 and Itanium2 running HP-
UX. The problem appears to be in the pow function which gives result that
differs by 12 ulps from Itanium2.
PowerPC-Mac OS X double: 0.44921455671723881 (gdb> print val)
Itanium2-HP UX double: 0.44921455671723876 (gdb> print val)
Mathematica (PowerPC-double): 0.44921455671723886 649004953142139
(N[val,32])
Mathematica (Pentium4-double): 0.44921455671723875 546774706890574
(N[val,32])
Mathematica (rational evaluation): 0.44921455671723877 615723308414713
(N[val,32])
Itanium2 is obviously closer to the proper result. Should I file a bug
against libm?
Thanks,
Tomas
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden