[Bug libgcc/59412] __fixunsdfDI triggers wrong inexact exceptions

jsm28 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 12 17:33:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59412

--- Comment #1 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
Note that in addition to spurious "inexact" exceptions, this division can cause
spurious "underflow" exceptions when converting tiny values to integer 0. 
Other spurious exceptions can occur in overflow cases, when only "invalid"
should be raised, and the signed conversions wrapping this function can fail to
raise "invalid" for some overflow cases.



More information about the Gcc-bugs mailing list