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/19349] New: [ldbl-128ibm] tanhl inaccurate for small arguments


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

            Bug ID: 19349
           Summary: [ldbl-128ibm] tanhl inaccurate for small arguments
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

The ldbl-128ibm implementation of tanhl is inaccurate for small arguments. 
E.g.:

Failure: Test: tanh (0x1p-60)
Result:
 is:          8.67361737988403547958278625222217e-19  
0x1.000000000000001000000000000p-60
 should be:   8.67361737988403547205962240695953e-19  
0x1.000000000000000000000000000p-60
 difference:  7.52316384526264005099991383822237e-37  
0x1.000000000000000000000000000p-120
 ulp       :  35184372088832.0000
 max.ulp   :  1.0000

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