is_infinite

Tests whether a number is infinite in magnitude.

Parameter 1 - a numerical value to be tested.

Returns: a Boolean value, true if the number is positive or negative infinity and false otherwise.