EXP()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Xpand
Topics on this page:
Overview
Returns the value of e, the base of natural logarithms, raised to the given power.
USAGE
EXP(number)
Argument Name | Description |
---|---|
| The number to manipulate |
DETAILS
EXP()
is a mathematical function that returns the value of e, the base of natural logarithms, raised to the power provided as the argument.
The return value is a DOUBLE
. If the computed value does not fit in a that size, an error is returned.
A NULL
is returned if the argument is NULL
.
EXAMPLES
SELECT EXP(1);
+----------------+
| EXP(1) |
+----------------+
| 2.718281828459 |
+----------------+
SELECT EXP(0);
+--------+
| EXP(0) |
+--------+
| 1 |
+--------+
SELECT EXP(10000);