public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "davem at davemloft dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/15429] New: ldbl-128 cos() inaccurate new pi/2
Date: Thu, 02 May 2013 20:35:00 -0000	[thread overview]
Message-ID: <bug-15429-131@http.sourceware.org/bugzilla/> (raw)

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.


             reply	other threads:[~2013-05-02 20:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-02 20:35 davem at davemloft dot net [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15429-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).