NaN

external val NaN: Float(source)

A not-a-number value.

Primitive equality does not equate NaN with itself. compareTo does, and orders it above numbers.