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/16284] New: Bad overflowing exp results for directed rounding


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

            Bug ID: 16284
           Summary: Bad overflowing exp results for directed rounding
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org

When rounding to zero or downward, overflowing results of exp should be the
largest finite value, not infinity.  The sysdeps/ieee754/dbl-64 exp
implementation, on x86_64, at least, returns infinity, e.g.

testing double (without inline functions)
Failure: Test: exp_towardzero (0x1.86ap+16)
Result:
 is:          inf   inf
 should be:   1.79769313486231570814e+308   0x1.fffffffffffff0000000p+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]