Exponential and Root Functions
Perform exponential calculations and extract roots of numbers.
Last updated
Perform exponential calculations and extract roots of numbers.
Returns the value of expr1 raised to the power of expr2.
> select power(3.15, 0.5);
1.775Computes the factorial of its input
Supported datatype: Integer
> select factorial(5);
120NOTE - The input must be an integer expression within the inclusive range of 0 to 20.
Calculates the cubic root of a numerical value.
Support datatype: Integer, Double
> select cbrt(125);
5
> select cbrt(5);
1.709975946676697Calculates the square root of a numerical value.
Support datatype: Integer, Double
Calculates the exponential function of a floating-point value, with Euler's number e as the base
Support datatype: Integer, Double
Last updated
> select sqrt(4);
2
> select sqrt(-1);
nan> select exp(1);
2.7182818284590455