跳到主要内容

TANH

tanh

description

Syntax

DOUBLE tanh(DOUBLE x) 返回x的双曲正切值,tanh(x) = sinh(x) / cosh(x).

example

mysql> select tanh(0);
+---------+
| tanh(0) |
+---------+
| 0 |
+---------+

mysql> select tanh(1);
+---------------------+
| tanh(1) |
+---------------------+
| 0.76159415595576485 |
+---------------------+

keywords

TANH