ISINFINITY

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.

InputType Description
IN ANY_REALInput value
OutputTypeDescription
BOOLOutput value

  • © Energocentrum Plus, s.r.o. 2017 - 2024