tanh

description

Syntax

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

example

1. mysql> select tanh(0);
2. +---------+
3. | tanh(0) |
4. +---------+
5. |       0 |
6. +---------+

8. mysql> select tanh(1);
9. +---------------------+
10. | tanh(1)             |
11. +---------------------+
12. | 0.76159415595576485 |
13. +---------------------+

keywords

1. TANH