Skip to main content
Version: V1.0.0

EXP

Declaration

EXP(X)

Description

Returns the value of the natural logarithm base e raised to the power of X.

Example

SELECT EXP(2);
+------------------+
| EXP(2) |
+------------------+
| 7.38905609893065 |
+------------------+
1 row in set (0.001 sec)

SELECT EXP(0);
+--------+
| EXP(0) |
+--------+
| 1 |
+--------+
1 row in set (0.001 sec)

SELECT EXP(-2);
+--------------------+
| EXP(-2) |
+--------------------+
| 0.1353352832366127 |
+--------------------+
1 row in set (0.001 sec)