[Bug c/123036] NaN != NaN should be true, but fails
janschultke at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Sun Dec 7 07:03:58 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123036
Jan Schultke <janschultke at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|WAITING |RESOLVED
--- Comment #4 from Jan Schultke <janschultke at googlemail dot com> ---
Yeah, I think I got myself confused.
compareQuietNotEqual holds for two NaNs, which is consistent with the C !=
operator.
More information about the Gcc-bugs
mailing list