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

* [Bug math/15429] ldbl-128 cos() inaccurate new pi/2
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: carlos at redhat dot com @ 2013-05-09 13:14 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15429

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> 2013-05-09 13:14:50 UTC ---
I'll be disabling this test for ldbl-128 until we fix this.

-- 
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

* [Bug math/15429] ldbl-128 cos() inaccurate new pi/2
  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
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-05-09 21:31 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15429

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2013-05-09 21:31:18 UTC ---
Fixed for 2.18 by:

commit d0213cd0b629cae95ed9607fcf26793a3a0d686c
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu May 9 21:28:54 2013 +0000

    Fix ldbl-128 cos range reduction near pi/2 (bug 15429).

-- 
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

* [Bug math/15429] ldbl-128 cos() inaccurate new pi/2
  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
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 18:08 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=15429

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
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).