cosh function (Databricks SQL)

Returns the hyperbolic cosine of expr.

Syntax

cosh(expr)

Arguments

  • expr: An expression that evaluates to a numeric.

Returns

A DOUBLE.

Examples

> SELECT cosh(0);
 1.0