This documentation is related to an older version of Firebolt. For the most current documentation, see Firebolt documentation.
EXP
Returns the REAL
value of the constant e raised to the power of a specified number.
Syntax
EXP(<value>)
Parameters
Parameter | Description | Supported input types |
---|---|---|
<value> | base value with the power of the constant e | DOUBLE PRECISION |
Return Type
DOUBLE PRECISION
Example
The following example takes in the value 2
to the power of e:
SELECT
EXP(2);
Returns: 7.389056098924109