Use Non-Frames Version Previous Page Next Page
Mathematical Operations: Mathematical Functions

int, frac, i, abs, exp, log, log10, sqrt

          int(x)     (init-rate or control-rate args only)
          frac(x)    (init-rate or control-rate args only)
          i(x)       (control-rate args only)
          abs(x)     (no rate restriction)
          exp(x)     (no rate restriction)
          log(x)     (no rate restriction)
          log10(x)   (no rate restriction)
          sqrt(x)    (no rate restriction)

Description

where the argument within the parentheses may be an expression. Value converters perform arithmetic translation from units of one kind to units of another. The result can then be a term in a further expression.

int(x) – returns the integer part of x.

frac(x) – returns the fractional part of x.

i(x) – returns an init-type equivalent of the argument (k-rate)

abs(x) – returns the absolute value of x.

exp(x) – returns e raised to the xth power.

log(x) – returns the natural log of x (x positive only).

log10(x) – returns the base 10 log of x (x positive only).

sqrt(x) – returns the square root of x (x non-negative).

Note that for log, log10, and sqrt the argument value is restricted.


Use Non-Frames Version Previous Page Next Page
Mathematical Operations: Mathematical Functions