TANH
tanhβ
descriptionβ
Syntaxβ
DOUBLE tanh(DOUBLE x)
Returns the hyperbolic tangent of 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