Re:John Gustafson’s crusade to replace floating point with s...
by piadodjanho on Sunday July 14, 2019 @09:18AM
(#20433198)
Nice catch.
> They make it clear in their notes that "are numbers" includes infinities but not NaNs.
This is definitely not very clear on the form, thought.
The question is:
and their notes on it: They make it clear in their notes that "are numbers" includes infinities but not NaNs. Now consider the case where a = inf and b = -inf. Then inf + (-inf) is NaN, and (-inf) + inf is NaN, and NaN != NaN.