Purpose
The TANH function returns the hyperbolic tangent of a numeric value. The returned value is in the range (-1, 1).
Syntax
TANH(number)
Parameters
number is a numeric data type (NUMBER, FLOAT, BINARY_FLOAT, and BINARY_DOUBLE) or a parameter that can be implicitly converted to a numeric data type.
Return type
If the number parameter is of the BINARY_FLOAT type, the return type is BINARY_DOUBLE. Otherwise, the return type is the same as the number parameter.
Examples
Return the hyperbolic tangent of 1.
obclient> SELECT TANH(1) FROM DUAL;
+-------------------------------------------+
| TANH(1) |
+-------------------------------------------+
| .7615941559557648881194582826047935904128 |
+-------------------------------------------+
1 row in set
