Go to the first, previous, next, last section, table of contents.
#include <math.h> double cosh(double x);
This function computes the hyperbolic sine of x.
The hyperbolic cosine of x. If the value of x is a
NaN
, the return value is NaN
and errno
is set to
EDOM
. If the value of x is so large that the result would
overflow a double
, the return value is Inf
and
errno
is set to ERANGE
. If x is either a positive
or a negative infinity, the result is +Inf
, and errno
is
not changed.
ANSI, POSIX
Go to the first, previous, next, last section, table of contents.