Re:NaN does not mean "I am not a number”
by wlievens on Friday July 11, 2014 @03:40AM
(#8019200)
As dragonwriter has remarked above, the type "Number" includes stuff that isn't a number. That's a bit absurd, it's like having a value "Red" for a "Color" type.
The type should obviously have been called Float or some variant of that, and the type identification function isFloat.
The type should obviously have been called Float or some variant of that, and the type identification function isFloat.