This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15429] New: ldbl-128 cos() inaccurate new pi/2
- From: "davem at davemloft dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 02 May 2013 20:34:51 +0000
- Subject: [Bug math/15429] New: ldbl-128 cos() inaccurate new pi/2
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15429
Bug #: 15429
Summary: ldbl-128 cos() inaccurate new pi/2
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: unassigned@sourceware.org
ReportedBy: davem@davemloft.net
Classification: Unclassified
On sparc, which uses ldbl-128, the tests using cos() on pi/2 give
inaccurate results. For example:
Test "cos (pi/2) == 0x1.cd129024e088a67cc74020bbea64p-115":
ildouble: 267676
ldouble: 267676
...
Test "sincos (pi/2, &sin_res, &cos_res) puts
0x1.cd129024e088a67cc74020bbea64p-115 in cos_res":
ildouble: 267676
ldouble: 267676
...
Function "cos":
ildouble: 267676
ldouble: 267676
...
Function "sincos":
ildouble: 267676
ldouble: 267676
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.