val | The value to test |
Return: | Returns a BOOLEAN indicating whether a real value is a NaN (not a number) value. |
The isNaN function returns whether a real value is a NaN (not a number) value.
Example:
IMPORT STD; a := STD.Math.NaN ; b := 42.1; STD.Math.isNaN(a); //true STD.Math.isNaN(b); //false