isInf(Function) |
Top Previous Next |
This function checks if the provided value is infinite. This should be used to verify results of calculations where it is possible to have an illegal value.
Note: This function works with DOUBLE, but can also work with FLOAT as described in the Floating-point math introductory section.
Input: V : DOUBLE Value to check.
Returns: BOOL True if the value if +Infinity or - Infinity, False otherwise.
Declaration: FUNCTION isInf : BOOL;
Example: INCLUDE rtcu.inc |