HP C/iX Library Reference Manual (30026-90004)

126 Chapter5
HP C/iX Library Function Descriptions
cosh
cosh
Computes the hyperbolic cosine of an angle.
Syntax
#include <math.h>
double cosh (double
x
);
Parameters
x
A real number giving the angle measured in radians.
Return Values
HUGE_VAL An overflow condition occurred, and errno is set to ERANGE.
n The hyperbolic cosine of the given angle.
Description
The cosh function returns the hyperbolic cosine of the given angle. Error handling can be
changed by a user-written matherr function.
See Also
tanh(), cos(), matherr(), ANSI C 4.5.3.1, POSIX.1 8.1