Mathematical functions

Square root, exponentials & logarithms

All these functions return a real (r8) value. All number arguments may be a constant, field or expression that evaluates to a numeric value.

exp(number)

Returns e to the power of number.

log(number)

Returns the natural logarithm of number.

log10(number)

Returns the logarithm base 10 of number.

power(number1, number2)

Returns the value of number1 raised to the power of number2.

sqrt(number)

Returns the square root of number. If number is zero or negative, the function returns zero.

Trigonometric functions

Functions which relate an angle of a right-angled triangle to ratios of two side lengths. All these functions return a real (r8) value. All number arguments are in radians, and may be a constant, field or expression that evaluates to a numeric value.

acos(number)

Returns the arc cosine of number.

asin(number)

Returns the arc sine of number.

atan(number)

Returns the arc tangent of number.

atan2(number, number2)

Returns the arc tangent of number1 divided by number2.

cos(number)

Returns the cosine of number.

sin(number)

Returns the sine of number.

tan(number)

Returns the tangent of number.

Other functions

Mathematical or numeric functions not included in previous categories.

abs(number_expression)

Returns the absolute value of number_expression.