[Bug math/15268] exp (-7.4444006192138124e+02) missing underflow

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Dec 3 00:36:00 GMT 2013


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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Default SET_RESTORE_ROUND   |exp
                   |implementation hold         |(-7.4444006192138124e+02)
                   |exceptions                  |missing underflow

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
I don't see that there's a bug in SET_RESTORE_ROUND here; libc_feresetround
calls feupdateenv which should cause any exceptions that were raised after
SET_RESTORE_ROUND to generate corresponding traps.  It looks like the exp call
only generates exact underflow but not inexact, even though this is a case of
an inexact result; that's a bug in exp (and applies on x86_64 as well).

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list