3 ms·
I'm lacking sleep a bit here, but wouldn't NaN == NaN do the same trick?
by chrisdevereux 12y ago
I'm lacking sleep a bit here, but wouldn't NaN == NaN do the same trick?
- kazinator 12y agoYes, if you take the false result to be the indication that you have a NaN. Either polarity comparison will work, if you correctly interpret its result.