val | The value to test |
Return: | Returns a BOOLEAN indicating whether a real value is infinite (positive or negative). |
The isInfinite function returns whether a real value is infinite (positive or negative).
Example:
IMPORT STD; a := STD.Math.Infinity ; b := 42.1; STD.Math.isInfinite(a); //true STD.Math.isInfinite(b); //false