メインコンテンツまでスキップ
バージョン: 3.3

exp, dexp

説明​

e を x の累乗にした値を返します。この関数は自然対数関数と呼ばれます。

構文​

EXP(x);

パラメータ​

x: 累乗の数値。DOUBLE がサポートされています。

戻り値​

DOUBLE データ型の値を返します。

例​

3.14 の累乗にした e を返します:

mysql> select exp(3.14);
+--------------------+
| exp(3.14) |
+--------------------+
| 23.103866858722185 |
+--------------------+
1 row in set (0.01 sec)
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.