Are the bit patterns of NaNs really hardware-dependent?
This is what ยง2.3.2 of the JVM 7 spec has to say about it: The elements of the double value set are exactly the values that can be represented using the double floating-point format defined in the IEEE 754 standard, except that there is only one NaN value (IEEE 754 specifies 253-2 distinct NaN values). … Read more