[Bug c/97651] abs((int)fabs(0.0/0.0)) results negative

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Sat Oct 31 08:19:48 GMT 2020


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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
The result of converting a non-finite value of floating type to integer type is
undefined.


More information about the Gcc-bugs mailing list