cosh() - hyperbolic cosine function
#include <math.h>
double cosh (double x)
The cosh(3) function computes the hyperbolic cosine of x.
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.
The function cosh(3) can fail for the following reasons:
acos(3)
asin(3)
atan(3)
atan2(3)
cos(3)
sin(3)
sinh(3)
tan(3)
tanh(3)
math(3)