Table of Contents

Name

cosh, coshf, coshl - hyperbolic cosine function

Synopsis


#include <math.h>
double cosh(double x);
float coshf(float x);
long double coshl(long double x);

Description

The cosh() function returns the hyperbolic cosine of x, which is defined mathematically as (exp(x) + exp(-x)) / 2.

Conforming to

SVID 3, POSIX, BSD 4.3, ISO 9899 (C99). The float and the long double variants are C99 requirements.

See Also

acosh(3) , asinh(3) , atanh(3) , sinh(3) , tanh(3)


Table of Contents