DB
FunctionsMath

Math

28 Math functions in the NYXDB native function registry, with signatures, briefs, and measured medians where available.

28 functions in the math family. Each name links to its page; marks the variadic argument list (the engine declares no named parameters). A Measured value appears only where a benchmark corpus case joins by name (server-class hardware, median).

FunctionTypeDescriptionMeasured
abs(…) → Float64scalarAbsolute value.
cbrt(…) → Float64scalarCube root.
ceil(…) → Float64scalarRound up to the next integer.
degrees(…) → Float64scalarConvert radians to degrees.
div(…) → Int64scalarInteger division.
e(…) → Float64scalare constant.
exp(…) → Float64scalarExponential function.
factorial(…) → Float64scalarFactorial.
floor(…) → Float64scalarRound down to the previous integer.
gcd(…) → Int64scalarGreatest common divisor.
greatest(…) → Float64scalarMaximum of arguments.
isfinite(…) → BoolscalarTest for finite floating-point values.
lcm(…) → Int64scalarLeast common multiple.
least(…) → Float64scalarMinimum of arguments.
ln(…) → Float64scalarNatural logarithm.
log(…) → Float64scalarLogarithm with configurable base.
log10(…) → Float64scalarBase-10 logarithm.
log2(…) → Float64scalarBase-2 logarithm.
mod(…) → Int64scalarRemainder after division.
pi(…) → Float64scalarPi constant.
pow(…) → Float64scalarRaise a number to a power.
power(…) → Float64scalarExponentiation.
radians(…) → Float64scalarConvert degrees to radians.
random(…) → Float64scalarPseudo-random number.
round(…) → Float64scalarRound to a given precision.
sign(…) → Int64scalarSign of a number.
sqrt(…) → Float64scalarSquare root.
trunc(…) → Float64scalarTruncate a number without rounding.