Results of cos(pi/2) tests are dependent on error rounding pi/2 to a type.
Andreas Schwab
schwab@linux-m68k.org
Thu Apr 11 17:44:00 GMT 2013
I'm getting this result on ppc for long double:
Failure: Test: cos (pi/2) == 1.082856673921913968223746169860580e-32
Result:
is: 1.08285667392191396822e-32 0x1.c1cd129024e088a67cc7p-107
should be: 1.08285667392191396822e-32 0x1.c1cd129024e088a67cc7p-107
difference: 5.71253355584909492648e-62 0x1.78000000000000000000p-204
ulp : 376.0000
max.ulp : 0.0000
Maximal error of `cos'
is : 376 ulp
accepted: 1 ulp
Failure: Test: sincos (pi/2, &sin_res, &cos_res) puts 1.082856673921913968223746169860580e-32 in cos_res
Result:
is: 1.08285667392191396822e-32 0x1.c1cd129024e088a67cc7p-107
should be: 1.08285667392191396822e-32 0x1.c1cd129024e088a67cc7p-107
difference: 5.71253355584909492648e-62 0x1.78000000000000000000p-204
ulp : 376.0000
max.ulp : 0.0000
Maximal error of `sincos'
is : 376 ulp
accepted: 1 ulp
Filed as PR15359.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-ports
mailing list