ISNAN
Function name
ISNAN
ST call
PROGRAM ISNAN_DEMO VAR REAL1,REAL2: REAL; END_VAR REAL2:= ISNAN(REAL1); END_PROGRAM
Description
Compares the input variable value with NaN (Not-A-Number, i.e. the value does not represent any valid real number). Returns TRUE, if the value is NaN.
Inputs
Input | Type | Description |
IN | ANY_REAL | Input value |
Outputs
Output | Type | Description |
⇒ | BOOL | Output value |