Outdated Version

You are viewing an older version of this section. View current production version.

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 |
+-------------------+---------------------+