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


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

            Bug ID: 19078
           Summary: [ldbl-128ibm] expl overflow incorrect in non-default
                    rounding modes
           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: ---
              Host: powerpc*-*-*

The ldbl-128ibm expl wrapper checks the argument to determine when to call
__kernel_standard_l, thereby overriding overflowing results from __ieee754_expl
that could otherwise (given appropriately patched libgcc) be correct for the
rounding mode.  E.g.:

Failure: Test: exp_downward (0x2.c5c85cp+12)
Result:
 is:          inf   inf
 should be:   1.79769313486231580793728971405301e+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]