ISINFINITY
PROGRAM ISINFINITY_DEMO
VAR
REAL1,REAL2: REAL;
END_VAR
REAL2:= ISINFINITY(REAL1);
END_PROGRAM
Compares the input variable value with infinity. Returns TRUE, if the input value is positive or negative infinity.
Input | Type | Description |
---|---|---|
IN | ANY_REAL | Input value |
Output | Type | Description |
---|---|---|
=> | BOOL | Output value |