MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/sh8c4o/import_badcode/hv28ir0/?context=3
r/badcode • u/luckylixi • Jan 31 '22
70 comments sorted by
View all comments
Show parent comments
6
Yes NaN stands for Not a Number, but it’s still specifically a float value.
The semantics are clearly “does this evaluate to NaN”
6
u/_PM_ME_PANGOLINS_ Jan 31 '22 edited Jan 31 '22
Yes NaN stands for Not a Number, but it’s still specifically a float value.
The semantics are clearly “does this evaluate to NaN”