Skip to main content
Calculates the hyperbolic tangent of a provided value.

Syntax

Parameters

Return Type

DOUBLE PRECISION TANH is defined for every real argument and returns a value in the open interval between -1 and 1.

Example

The hyperbolic tangent of 0 is 0:

Rows: 1Execution time: 5.21ms

At LN(2) the result is exact — SINH(LN(2)) / COSH(LN(2)), or 0.75 / 1.25:

Rows: 1Execution time: 5.21ms