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

Igor Shevlyakov <igor at tachyum dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igor at tachyum dot com

--- Comment #2 from Igor Shevlyakov <igor at tachyum dot com> ---
A quote from IEEE-754-2019:

"Invalid operation is the only exception that a comparison predicate can
signal. All predicates signal the
invalid operation exception on signaling NaN operands. The predicates named
Quiet shall not signal any
exception, unless an operand is a signaling NaN. The predicates named Signaling
shall signal the invalid
operation exception on quiet NaN operands."

So isordered() will produce INV on sNaNs, while isnan() implemented via
fpcalssify, don't

Reply via email to