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

Syntax

Parameters

Return Type

DOUBLE PRECISION COSH is defined for every real argument and never returns a value below 1. An argument whose hyperbolic cosine overflows DOUBLE PRECISION raises an out-of-range error rather than returning infinity.

Example

The hyperbolic cosine of 0 is 1:

Rows: 1Execution time: 5.21ms

At LN(2) the result is exact — (2 + 1/2) / 2:

Rows: 1Execution time: 5.21ms