| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <math.h> double cosh(double x); |
This function computes the hyperbolic cosine 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/ISO C | C89; C99 |
| POSIX | 1003.2-1992; 1003.1-2001 |