CACOSSection: Linux Programmer's Manual (3)
Index Return to Main Contents
NAMEcacos, cacosf, cacosl - complex arc cosine
double complex cacos(double complex z);
float complex cacosf(float complex z);
long double complex cacosl(long double complex z);
DESCRIPTIONThe cacos() function calculates the complex arc cosine of z. If y = cacos(z), then z = ccos(y). The real part of y is chosen in the interval [0,pi].
cacos(z) = -i clog(z + csqrt(z * z - 1))
VERSIONSThese functions first appeared in glibc in version 2.1.
SEE ALSOccos(3), clog(3), complex(7)
COLOPHONThis page is part of release 3.21 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.