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

Syntax

Parameters

Return Type

DOUBLE PRECISION COTH is the reciprocal of TANH, which is zero only at zero, so an argument of zero raises a division-by-zero error. A large argument gives an infinite hyperbolic tangent, whose reciprocal is zero.

Example

COTH is 1 / TANH, so at LN(2) it is 1 / 0.6, or 5/3:

Rows: 1Execution time: 5.21ms

COTH approaches 1 as its argument grows:

Rows: 1Execution time: 5.21ms