Manpage of COSH
COSH
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
1.10 `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 ALSO
cosh
is part of the
libm
library.
The full documentation for
libm
is maintained as a Texinfo manual. If
info
and
libm
are properly installed at your site, the command
-
info libm
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:14 GMT, May 16, 2005
www.fiveanddime.net