https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128306
--- Comment #4 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- NaN < 0 and -0.0 < 0 are both false, so it does always return 0; it's just exceptions that are lost in the Inf - Inf case.
jsm28 at gcc dot gnu.org via Gcc-bugs Thu, 29 Oct 2026 20:20:41 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128306
--- Comment #4 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- NaN < 0 and -0.0 < 0 are both false, so it does always return 0; it's just exceptions that are lost in the Inf - Inf case.