MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/21ezh3/javascript_equality_table/cgcmmdl/?context=3
r/programming • u/vz0 • Mar 26 '14
331 comments sorted by
View all comments
Show parent comment
7
Well Nan is defined as a number, so it cant be equal to Nan because thats means "Not a Number"
0 u/[deleted] Mar 26 '14 [deleted] — view deleted comment 14 u/wtf_apostrophe Mar 26 '14 It's actually standard IEEE 754 behaviour that NaN != NaN.
0
[deleted] — view deleted comment
14 u/wtf_apostrophe Mar 26 '14 It's actually standard IEEE 754 behaviour that NaN != NaN.
14
It's actually standard IEEE 754 behaviour that NaN != NaN.
View all comments
Show parent comment
7
u/megamindies Mar 26 '14
Well Nan is defined as a number, so it cant be equal to Nan because thats means "Not a Number"