COSH Function

Purpose

Returns a value that is the hyperbolic cosine of the specified arithmetic value.

Syntax

COSH(x)

Parameters

x is a floating-point value.

Description

The COSH function returns a value that is the hyperbolic cosine of the angle x expressed in radians.

The result has the same data type as x such that COSH(x) ≥ 1.

Examples

COSH(0.0)    /* returns 1.0 */

Restrictions

A COSH operation on floating-point decimal data is actually performed using the floating-point binary operation. Thus, the range of the operands and the result of the operation are limited to the ranges for floating-point binary numbers.