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

Syntax

Parameters

Return Type

DOUBLE PRECISION SECH is the reciprocal of COSH, which is never zero, so SECH is defined for every real argument. A large argument gives an infinite hyperbolic cosine, whose reciprocal is zero.

Example

The hyperbolic secant of 0 is 1, its maximum:

Rows: 1Execution time: 5.21ms

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

Rows: 1Execution time: 5.21ms