1CACOSH(3) Linux Programmer's Manual CACOSH(3)
2
3
4
6 cacosh, cacoshf, cacoshl - complex arc hyperbolic cosine
7
9 #include <complex.h>
10
11 double complex cacosh(double complex z);
12 float complex cacoshf(float complex z);
13 long double complex cacoshl(long double complex z);
14
15 Link with -lm.
16
18 The cacosh() function calculates the complex arc hyperpolic cosine of
19 z. If y = cacosh(z), then z = ccosh(y). The imaginary part of y is
20 chosen in the interval [-pi,pi]. The real part of y is chosen non-neg‐
21 ative.
22
23 One has:
24
25 cacosh(z) = (0.5) * clog((1 + z) / (1 - z))
26
28 These functions first appeared in glibc in version 2.1.
29
31 C99.
32
34 acosh(3), cabs(3), cimag(3), complex(7)
35
37 This page is part of release 3.22 of the Linux man-pages project. A
38 description of the project, and information about reporting bugs, can
39 be found at http://www.kernel.org/doc/man-pages/.
40
41
42
43 2008-08-11 CACOSH(3)