GlareDB

Numeric Function Reference

%

Returns the remainder after dividing the left value by the right value.

*

Multiplies two numeric values.

+

Adds two numeric values together.

-

Subtracts the right value from the left value.

/

Divides the left value by the right value.

abs

Compute the absolute value of a number.

acos

Compute the arccosine of value.

acosh

Compute the inverse hyperbolic cosine of value.

add

Adds two numeric values together.

asin

Compute the arcsine of value.

asinh

Compute the inverse hyperbolic sine of value.

atan

Compute the arctangent of value.

atan2

Compute the arctangent of y/x.

atanh

Compute the inverse hyperbolic tangent of value.

cbrt

Compute the cube root of value.

ceil

Round number up.

cos

Compute the cosine of a value.

cosh

Compute the hyperbolic cosine of value.

cot

Compute the cotangent of value.

degrees

Convert radians to degrees.

div

Divides the left value by the right value.

exp

Compute e ^ val.

floor

Round number down.

gcd

Compute the greatest common divisor of two integers.

is_nan

Return if the given float is a NaN.

isfinite

Return if the given float is finite.

isinf

Return if the given float is infinite (positive or negative infinity).

lcm

Calculates the least common multiple of two integers.

ln

Compute natural log of value.

log

Compute base-10 log of value.

log2

Compute base-2 log of value.

mul

Multiplies two numeric values.

negate

Returns the result of multiplying the input value by -1.

pi

Return the value of pi.

pow

Compute base raised to the power of exponent.

power

Compute base raised to the power of exponent.

radians

Convert degrees to radians.

random

Return a random float.

rem

Returns the remainder after dividing the left value by the right value.

round

Round number to the nearest whole value.

sin

Compute the sin of value.

sinh

Compute the hyperbolic sine of value.

sqrt

Compute the square root of value.

sub

Subtracts the right value from the left value.

tan

Compute the tangent of value.

tanh

Compute the hyperbolic tangent of value.

trunc

Truncate number towards zero.