COSH(3) NEWLIB COSH(3)NAME
1.13 `cosh', `coshf'--hyperbolic cosine
SYNOPSIS
#include <math.h>
double cosh(double X);
float coshf(float X)
DESCRIPTION
`cosh' computes the hyperbolic cosine of the argument X. `cosh(X)' is
defined as
(exp(x) + exp(-x))/2
Angles are specified in radians. `coshf' is identical, save that it
takes and returns `float'.
RETURNS
The computed value is returned. When the correct value would create an
overflow, `cosh' returns the value `HUGE_VAL' with the appropriate
sign, and the global value `errno' is set to `ERANGE'.
You can modify error handling for these functions using the function
`matherr'.
PORTABILITY
`cosh' is ANSI. `coshf' is an extension.
SEE ALSOcosh is part of the library. The full documentation for is maintained
as a Texinfo manual. If info and are properly installed at your site,
the command
info
will give you access to the complete manual.
NEWLIB April 2010 COSH(3)