1COSH(3) Linux Programmer's Manual COSH(3)
2
3
4
6 cosh, coshf, coshl - hyperbolic cosine function
7
9 #include <math.h>
10
11 double cosh(double x);
12 float coshf(float x);
13 long double coshl(long double x);
14
15 Link with -lm.
16
18 The cosh() function returns the hyperbolic cosine of x, which is
19 defined mathematically as (exp(x) + exp(-x)) / 2.
20
22 SVr4, POSIX, 4.3BSD, C99. The float and the long double variants are
23 C99 requirements.
24
26 acosh(3), asinh(3), atanh(3), ccos(3), sinh(3), tanh(3)
27
28
29
30 2002-07-27 COSH(3)