Documentation

ISINFINITY

Function name

ISINFINITY

ST call

PROGRAM ISINFINITY_DEMO
VAR
REAL1,REAL2: REAL;
END_VAR
REAL2:= ISINFINITY(REAL1);
END_PROGRAM

Description

Compares the input variable value with infinity. Returns TRUE, if the input value is positive or negative infinity.

Inputs

Input Type Description
IN ANY_REAL Input value

Outputs

Output Type Description
=> BOOL Output value

Application example