TANH
Descriptionβ
Returns the hyperbolic tangent of x.
Syntaxβ
TANH(<x>)
Parametersβ
Parameter | Description |
---|---|
<x> | The value for which the hyperbolic tangent is to be calculated |
Return Valueβ
The hyperbolic tangent of parameter x.
Exampleβ
select tanh(0),tanh(1);
+-------------------------+-------------------------+
| tanh(cast(0 as DOUBLE)) | tanh(cast(1 as DOUBLE)) |
+-------------------------+-------------------------+
| 0 | 0.7615941559557649 |
+-------------------------+-------------------------+