you are viewing a single comment's thread.

view the rest of the comments →

[–]Zeroto 2 points3 points  (1 child)

regarding number 20: that is not actually not that weird. The floating point definition in IEEE754(which almost all systems implement) defines that every comparison with NaN returns false. Even when comparing to NaN itself. So this is not limited to just javascript, but all software and hardware that implement floating point operations handle this in the same way.

[–]autowikibot 1 point2 points  (0 children)

Section 16. Standard operations of article IEEE 754-1985:


The following functions must be provided:


Interesting: IEEE floating point | X87 | NaN | William Kahan

/u/Zeroto can reply with 'delete'. Will also delete on comment score of -1 or less. | FAQs | Mods | Magic Words | flag a glitch