This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Results of cos(pi/2) tests are dependent on error rounding pi/2 to a type.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, "libc-ports\ at sourceware dot org" <libc-ports at sourceware dot org>
- Date: Thu, 11 Apr 2013 19:44:03 +0200
- Subject: Re: Results of cos(pi/2) tests are dependent on error rounding pi/2 to a type.
- References: <5166B3C5 dot 90206 at redhat dot com>
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."