Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query optimization, and usability that you won’t want to miss.

EXP

Returns the result of e raised to the power of the argument specified.

Syntax

EXP ( expression )

Arguments

  • expression: any valid numeric expression.

Return Type

Double

Examples

SELECT EXP(1), EXP(-1);
+-------------------+---------------------+
| EXP(1)            | EXP(-1)             |
+-------------------+---------------------+
| 2.718281828459045 | 0.36787944117144233 |
+-------------------+---------------------+