"JavaScript has a bad rep but this really surprised me"
submitted by ColourBlindCactushttps://reddit.com/r/ProgrammerHumor/comments/udds7y/javascript_has_a_bad_rep_but_this_really/
@DeveloperMemes I don’t see why JavaScript is mentioned, the same happens in OCaml or any language that follows the IEEE-754 spec.
The first reply to https://stackoverflow.com/questions/1565164/what-is-the-rationale-for-all-comparisons-returning-false-for-ieee754-nan-values has some interesting information about this design choice
cybre.town is an instance of Masterdon, a decentrialized and open source social media plattform. This instance is especially about tech/cyber stuff and is also available inside the tor network. - The name is inspired by cybre.space.
@DeveloperMemes I don’t see why JavaScript is mentioned, the same happens in OCaml or any language that follows the IEEE-754 spec.
The first reply to https://stackoverflow.com/questions/1565164/what-is-the-rationale-for-all-comparisons-returning-false-for-ieee754-nan-values has some interesting information about this design choice