This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/15429] New: ldbl-128 cos() inaccurate new pi/2


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]