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