Math Functions
Mathematical Functions
Studio offers a wide range of mathematical functions that can be utilized in expressions.
| Function | Description |
|---|---|
abs(real) |
Returns the absolute value of a number. |
acos(real) |
Returns the arccosine of an angle. |
acosh(real) |
Returns the hyperbolic arccosine of an angle. |
asin(real) |
Returns the arcsine of an angle. |
asinh(real) |
Returns the hyperbolic arcsine of an angle. |
atan(real) |
Returns the arctangent of an angle. |
atan2(real,real) |
Returns the two-variable arctangent of an angle. |
atanh(real) |
Returns the hyperbolic arctangent of an angle. |
cbrt(real) |
Returns the cube root of an item. |
ceil(real) |
Rounds the floating number up to the nearest integer. |
cos(real) |
Returns the cosine of an angle. |
cosh(real) |
Returns the hyperbolic cosine of an angle. |
exp(real) |
Raises e to the power of a number (inverse of natural logarithm). |
expm1(real) |
Returns e^x - 1, where x is the provided argument. |
floor(real) |
Rounds the floating number down to the nearest integer. |
fround(real) |
Returns the nearest 32-bit single precision float representation of the provided argument. |
hypot(real, real) |
Returns the square root of the sum of squares from the provided arguments. |
imul(int,int) |
Returns the result of the C-like 32-bit multiplication of the two provided arguments. |
log(real) |
Returns the natural logarithm of a number. |
log10(real) |
Returns the common logarithm of a number. |
log1p(real) |
Returns the natural logarithm of 1 + x, where x is the provided argument. |
log2(real) |
Returns the binary logarithm of a number. |
max(real, real) |
Returns the maximum value from the provided arguments. |
min(real, real) |
Returns the minimum value from the provided arguments. |
pow(base,exponent) |
Raises a base to the power of an exponent. |
round(real) |
Rounds the floating number to the nearest integer. |
sign(real) |
Extracts the sign from a real number. |
sin(real) |
Returns the sine of an angle. |
sinh(real) |
Returns the hyperbolic sine of an angle. |
sqrt(real) |
Returns the square root of a number. |
tan(real) |
Returns the tangent of an angle. |
tanh(real) |
Returns the hyperbolic tangent of an angle. |
trunc(float) |
Returns the integer part of a number by removing any fractional digits. |