Categories:

Numeric functions (Trigonometric)

TANH¶

Computes the hyperbolic tangent of its argument.

Syntax¶

TANH( <real_expr> )
Copy

Arguments¶

input_expr

The value or expression to operate on. The data type must be FLOAT or DECFLOAT.

Returns¶

If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.

Examples¶

SELECT TANH(1.5);

--------------+
  TANH(1.5)   |
--------------+
 0.9051482536 |
--------------+
Copy