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/19016] New: clog10 inaccuracy


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

            Bug ID: 19016
           Summary: clog10 inaccuracy
           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: ---

For some inputs, clog10 functions can produce errors slightly larger than
accepted in glibc (at least in non-default rounding modes).  E.g., for long
double on x86_64:

Failure: Test: Real part of: clog10_upward (-0xb.e1d3ep-4 -
0x7.54785e1b143f8p-4 i)
Result:
 is:         -5.91989445352436023014e-02  -0xf.27a97abc911bf7200000p-8
 should be:  -5.91989445352436023386e-02  -0xf.27a97abc911bf7d00000p-8
 difference:  3.72694496791892149191e-20   0xb.00000000000000000000p-68
 ulp       :  11.0000
 max.ulp   :  6.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]