tanh(X)
Returns the hyperbolic tangent of the given value.
Syntax
tanh(X)
Input
| Argument | Type | Description |
|---|---|---|
X |
any numeric type | A numeric value |
Return Value
Returns a decimal number corresponding to the hyperbolic tangent of X.
If X is N/A, the result is N/A.
Sample Usage
X |
tanh(X) |
|---|---|
| 0.7854 | 0.6558 |
| 0.0785 | 0.0783 |
| -0.0785 | -0.0783 |
| NA | NA |
