public static boolean isInfinite (double v)

Returns true if the specified number is infinitely large in magnitude, false otherwise.

Parameters:
v    the value to be tested.

Returns:  true if the value of the argument is positive infinity or negative infinity; false otherwise.