Documentation

ISPOSITIVEINFINITY

Function name

ISPOSITIVEINFINITY

ST call

PROGRAM ISPOSITIVEINFINITY_DEMO
VAR
REAL1,REAL2: REAL;
END_VAR
REAL2:= ISPOSITIVEINFINITY(REAL1);
END_PROGRAM

Description

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

Inputs

Input Type Description
IN ANY_REAL Input value

Outputs

Output Type Description
=> BOOL Output value

Application example