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. +---------+
  7. mysql> select tanh(1);
  8. +---------------------+
  9. | tanh(1) |
  10. +---------------------+
  11. | 0.76159415595576485 |
  12. +---------------------+

keywords

  1. TANH