Table of Contents

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

InputType Description
IN ANY_REALInput value

Outputs

OutputTypeDescription
BOOLOutput value

Application example