3 ms·
I mean, it is a weird statement in that the language apparently needs a === operator. Of course, after looking up what === is, the behavior is obvious.
by bee_rider 3y ago
I mean, it is a weird statement in that the language apparently needs a === operator.
Of course, after looking up what === is, the behavior is obvious.
- threatofrain 3y agoThat wouldn't change anything here. This behavior is due to the IEEE 754 number spec, which is implemented in many languages.
- bee_rider 3y agoThe floating point behavior is the obvious part, the === operator is the head-scratcher.