User Manual

Chapter 5 ________________________________________ Advanced Use of Lizard Setup Software
VAISALA______________________________________________________________________ 165
The supported functions are: sqrt, fabs, log, log10, exp, pow, fmod, sin,
cos, tan, round, floor, ceil, trunc. The functions are described in Table
23 on page 165.
Table 23 Functions in Arithmetic Formulas
Function Description
n sqrt(n) Calculates the square root.
n fabs(n) Finds absolute value of parameter.
n log(n) Calculates the natural logarithm of parameter.
n log10(n) Calculates the base-10 logarithm of parameter.
n exp(n) Calculates the exponential value of parameter.
n pow(n1,n2) Calculates n1 raised to power of n2.
n fmod(n1,n2) Calculates the floating-point remainder n of n1/n2 such
that n1 = i * n2 + n, where i is integer and n has same
sign as n1, and the absolute value of n is less than the
absolute value of n2.
n sin(n) Calculates the sine value of parameter.
n cos(n) Calculates the cosine value of parameter.
n tan(n) Calculates the tangent value of parameter.
n round(n) Rounds an argument value to the nearest integer.
n floor(n) Calculates the floor of a value. Returns a value
representing the largest integer that is less than or equal
to n.
n ceil(n) Calculates the ceiling of a value. Returns a value
representing the smallest integer that is greater than or
equal to n.
n trunc(n) Converts floating point n to integer by simply removing
any fractional part of parameter.