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/19592] New: [ldbl-128ibm] ceill incorrect in non-default rounding modes


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

            Bug ID: 19592
           Summary: [ldbl-128ibm] ceill incorrect in non-default rounding
                    modes
           Product: glibc
           Version: 2.23
            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 ceill is incorrect in non-default rounding
modes:

Failure: ceil_downward (-max_value): Exception "Overflow" set
Failure: Test: ceil_downward (-max_value)
Result:
 is:         -inf  -inf
 should be:  -1.79769313486231580793728971405302e+308 
-0x1.fffffffffffff7ffffffffffff8p+1023
Failure: ceil_upward (max_value): Exception "Overflow" set
Failure: Test: ceil_upward (max_value)
Result:
 is:          inf   inf
 should be:   1.79769313486231580793728971405302e+308  
0x1.fffffffffffff7ffffffffffff8p+1023

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