public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/16284] New: Bad overflowing exp results for directed rounding
@ 2013-12-02 18:49 jsm28 at gcc dot gnu.org
  2013-12-20 21:34 ` [Bug math/16284] " jsm28 at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-12-02 18:49 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-13 11:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-02 18:49 [Bug math/16284] New: Bad overflowing exp results for directed rounding jsm28 at gcc dot gnu.org
2013-12-20 21:34 ` [Bug math/16284] " jsm28 at gcc dot gnu.org
2014-02-12  9:28 ` zimmerma+gcc at loria dot fr
2014-03-21  0:04 ` cvs-commit at gcc dot gnu.org
2014-03-24 12:20 ` jsm28 at gcc dot gnu.org
2014-03-24 12:20 ` cvs-commit at gcc dot gnu.org
2014-06-13 11:50 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).