public static boolean isNaN (double v)

Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.

Parameters:
v    the value to be tested.

Returns:  true if the value of the argument is NaN; false otherwise.