Skip to content

TANH

  • number: The numeric expression whose hyperbolic tangent is returned.
SELECT TANH(1) AS TanhValue;
+------------------+
| TanhValue |
+------------------+
| 0.761594155955765|
+------------------+

The TANH function computes the hyperbolic tangent of a number. In the example above, the TANH function calculates the hyperbolic tangent of 1, which results in 0.761594155955765.