TANH

The TANH function returns the hyperbolic tangent of a specified number.

Syntax

TANH ( number )

number

A  DOUBLE PRECISION number that specifies the angle, in radians, for which you want the hyperbolic tangent computed.

Results

The data type of the returned value is a  DOUBLE PRECISION number.

If number is NULL, the result of the function is NULL.

If number is 0, the result of the function is 0.

Example

splice> VALUES TANH(1.234);
1
----------
0.8437356625893302

1 row selected

See Also