Skip to main content

Categories: Math

COSH

Computes the hyperbolic cosine of a value.

Syntax​

COSH(numeric_expression NUMERIC) → DOUBLE​

  • numeric_expression: Numeric value.

Examples

COSH example
SELECT COSH(0)
-- 1.0
COSH example
SELECT COSH(1.0)
-- 1.543080634815244
COSH example
SELECT COSH(-1)
-- 1.543080634815244
Return NULL for a NULL input
SELECT COSH(NULL)
-- null