public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15429] New: ldbl-128 cos() inaccurate new pi/2
@ 2013-05-02 20:35 davem at davemloft dot net
  2013-05-09 13:14 ` [Bug math/15429] " carlos at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: davem at davemloft dot net @ 2013-05-02 20:35 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-13 18:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-02 20:35 [Bug math/15429] New: ldbl-128 cos() inaccurate new pi/2 davem at davemloft dot net
2013-05-09 13:14 ` [Bug math/15429] " carlos at redhat dot com
2013-05-09 21:31 ` jsm28 at gcc dot gnu.org
2014-06-13 18:08 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).