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/19046] New: ldbl-128 / ldbl-128ibm lgamma bad overflow handling


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

            Bug ID: 19046
           Summary: ldbl-128 / ldbl-128ibm lgamma bad overflow handling
           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-128 / ldbl-128ibm implementation of lgamma handles large arguments in
a way that results in spurious overflows.  E.g., for mips64:

Failure: lgamma (0x5.c6aa645fffef5f5p+16368): Exception "Overflow" set
Failure: lgamma (0x5.c6aa645fffef5f5p+16368): errno set to 34, expected 0
(unchanged)
Failure: Test: lgamma (0x5.c6aa645fffef5f5p+16368)
Result:
 is:          inf   inf
 should be:   1.18973149535723176409107723032036400e+4932  
0x1.ffffffffffffffe127acbfd5f54ap+16383

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