EXP(X)
Returns the value of e (the base of natural logarithms) raised to the power of X. The inverse of this function is LOG() (using a single argument only) or LN().
If X
is NULL
, this function returns NULL
.
SELECT EXP(2); +------------------+ | EXP(2) | +------------------+ | 7.38905609893065 | +------------------+ SELECT EXP(-2); +--------------------+ | EXP(-2) | +--------------------+ | 0.1353352832366127 | +--------------------+ SELECT EXP(0); +--------+ | EXP(0) | +--------+ | 1 | +--------+ SELECT EXP(NULL); +-----------+ | EXP(NULL) | +-----------+ | NULL | +-----------+
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/exp/