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/18790] New: [ldbl-128ibm] tanhl inaccurate


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

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

ldbl-128ibm tanhl uses a too-small threshold to decide when to return +/-1,
resulting in large errors, e.g.:

Failure: Test: tanh (0x1.6p+4)
Result:
 is:          1.00000000000000000000e+00   0x1.00000000000000000000p+0
 should be:   9.99999999999999999844e-01   0x1.fffffffffffffffa4230p-1
 difference:  1.55622644822670250709e-19   0x1.6f741de1748000000000p-63
 ulp       :  12625608903588.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]