cosh()

NAME

cosh() - hyperbolic cosine function

SYNOPSIS

#include <math.h>

double cosh (double x)

DESCRIPTION

The cosh(3) function computes the hyperbolic cosine of x.

RETURN VALUES

The cosh(3) function returns the hyperbolic cosine.

If the argument is not a number, it returns NaN and sets errno. If the argument is +-Infinity, it returns +Infinity and sets errno.

ERRORS

The function cosh(3) can fail for the following reasons:

[EDOM]
The argument is NaN.
[ERANGE]
The result would cause an overflow.

SEE ALSO

acos(3)

asin(3)

atan(3)

atan2(3)

cos(3)

sin(3)

sinh(3)

tan(3)

tanh(3)

math(3)