Categories: Math
EXP
Calculates Euler's number e raised to the power of the specified value. Returns NULL if the input is NULL.
Syntax
EXP(numeric_expression NUMERIC) → DOUBLE
- numeric_expression: The exponent value to raise e to. This must be an DOUBLE, INTEGER, or FLOAT.
Examples
EXP exampleSELECT EXP(1)
-- 2.7182818284590455
SELECT EXP(10.0)
-- 22026.465794806718
SELECT EXP(0)
-- 1.0
SELECT EXP(LN(42))
-- 42.00000000000001
SELECT EXP(NULL)
-- null