COSH(3) BSD Programmer's Manual COSH(3)NAME
cosh, coshf - hyperbolic cosine functions
SYNOPSIS
#include <math.h>
double
cosh(double x);
float
coshf(float x);
DESCRIPTION
The cosh() and the coshf() functions compute the hyperbolic cosine of x.
ERRORS
If the result would overflow, then:
_IEEE_ The return value is +Inf.
_POSIX_ Same as _IEEE_, but errno is also set to ERANGE.
_XOPEN_ Same as _POSIX_, but errno is only set if matherr(3) returns 0.
The exception type is DOMAIN.
_SVID_ Same as _XOPEN_, but the return value is MAXFLOAT.
SEE ALSOacos(3), asin(3), atan(3), atan2(3), cos(3), math(3), sin(3),
sinh(3), tan(3), tanh(3)STANDARDS
The cosh() function conforms to ANSI C X3.159-1989 (``ANSI C '').
BSDI BSD/OS March 3, 1998 1