Skip to main content
Version: 24.3.x

Categories: Math

COSH

Computes the hyperbolic cosine of a value in radians.

Syntax

COSH(numeric_expression NUMERIC) → FLOAT

  • numeric_expression: The number in radians. This must be DOUBLE, INTEGER, or FLOAT.

Examples

COSH example
SELECT COSH(0)
-- 1.0
COSH example
SELECT COSH(1.0)
-- 1.543080634815244
COSH example
SELECT COSH(-1)
-- 1.543080634815244