1CACOS(3) Linux Programmer's Manual CACOS(3)
2
3
4
6 cacos, cacosf, cacosl - complex arc cosine
7
9 #include <complex.h>
10
11 double complex cacos(double complex z);
12 float complex cacosf(float complex z);
13 long double complex cacosl(long double complex z);
14
15 Link with -lm.
16
18 The cacos() function calculates the complex arc cosine of z. If
19 y = cacos(z), then z = ccos(y). The real part of y is chosen in the
20 interval [0,pi].
21
22 One has:
23
24 cacos(z) = -i clog(z + csqrt(z * z - 1))
25
27 These functions first appeared in glibc in version 2.1.
28
30 C99.
31
33 ccos(3), clog(3), complex(7)
34
36 This page is part of release 3.22 of the Linux man-pages project. A
37 description of the project, and information about reporting bugs, can
38 be found at http://www.kernel.org/doc/man-pages/.
39
40
41
42 2008-08-11 CACOS(3)