LogiView

Functions and Commands

Mathematics

     

The following functions are available to process numeric expressions:

cos {INT_VAR|FLO_VAR}=cos({NUM_EXPR})
This function returns the result of the trigonometric function Cosinus.
exp {INT_VAR|FLO_VAR}=exp({NUM_EXPR})
This function returns the result of the natural exponential function (reverse function for the natural logarithm 'ln').
ln {INT_VAR|FLO_VAR}=ln({NUM_EXPR})
This function returns the result of the natural logarithm (reverse function for the natural exponential function 'e').
maximum {INT_VAR|FLO_VAR}=maximum({NUM_EXPR},{NUM_EXPR})
This function enables the comparison of two numeric expressions. The value of the mathematically greater expression is returned as result.
minimum {INT_VAR|FLO_VAR}=minimum({NUM_EXPR},{NUM_EXPR})
Using this function two numeric expressions can be compared. The value of the mathematically lower expression is returned as result.
rnd {INT_VAR|FLO_VAR}=rnd({NUM_EXPR}) oder
{INT_VAR|FLO_VAR}=rnd({NUM_EXPR},{1|2|3|4|5|6})
This function is used to round a numeric expression.
sin {INT_VAR|FLO_VAR}=sin({NUM_EXPR})
This function returns the result of the trigonometric function Sinus.
sqr {INT_VAR|FLO_VAR}=sqr({NUM_EXPR})
This function returns provides the result of the square function.
sqrt {INT_VAR|FLO_VAR}=sqrt({NUM_EXPR})
This function returns the result of the square-root function.
tan {INT_VAR|FLO_VAR}=tan({NUM_EXPR})
This function returns the result of the trigonometric function Tangens.
For calculations expected to turn out a very low or high result (<2^-31 resp. > 2^31) you should use the type Float/Double in order to avoid errors.