INFINITY()
Provides an error return value for mathematical functions.
Returns 2 to the 1024th power.

Return value is the bit pattern used by the 8087/80287
to represent infinity (7F F0 00 00 00 00 00 00).

Some of the mathematical functions return INFINITY() to indicate
an error. Possible errors include a value which is too large,
an attempted division by zero, or an even root of a negative number.
This shows up as numeric overflow asterisks in Clipper, but can be
tested for as in this example.

IF LOGNBASX( m_num1, m_num2 ) = INFINITY()
? "Error in LOGNBASX"
ENDIF


Placed in the Public Domain by Tom Rettig Assoc.