Returns the hyperbolic tangent.
| Category: | Trigonometric |
| Returned data type: | DOUBLE |
specifies any valid SQL expression that evaluates to a numeric value.
| Restriction | expression cannot be an odd multiple of π/2 |
| Data type | DOUBLE |
| See | <sql-expression> |
| FedSQL Expressions |
|
Statements
|
Results
|
|---|---|
x=tanh(0); |
0 |
x=tanh(0.5); |
0.46211715726 |
select tanh(-0.5); |
-0.46212 |