FINITE function returns 1 (True) if its argument is finite. If the argument is infinite or not a defined number (NaN), 0 (False) is returned. (See
Special Floating-Point Values
for more information on IEEE floating-point values.) The result is a byte expression of the same structure as the argument
This function always returns 1 on machines that do not implement the IEEE floating-point standard.
Result = FINITE(
A floating-point, double-precision, or complex scalar or array expression. Strings are first converted to floating-point. This function is meaningless for byte, integer, or longword arguments.
To find out if the logarithm of 5.0 is finite, enter:
IDL prints "1" because the argument is finite.