SingleStore DB

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