Yes. The research culture that produced Haskell, for example, is far from the "shipping culture" that produced JavaScript 1.0, and yet:
> let x = 0/0
> x
NaN
> x == x
False
> :type x
x :: Double
(and yes, Double is an instance of the Num type class)The author programs in C++ and D. I wonder if he knows the value of (NaN == NaN) in those languages?