Man Linux: Main Page and Category List

cacos, cacosf, cacosl - complex arc cosine

#include<complex.h>doublecomplexcacos(doublecomplexz);floatcomplexcacosf(floatcomplexz);longdoublecomplexcacosl(longdoublecomplexz);Link with-lm.

Thecacos() function calculates the complex arc cosine ofz. Ify=cacos(z), thenz=ccos(y). The real part ofyis chosen in the interval [0,pi]. One has: cacos(z) = -i clog(z + csqrt(z * z - 1))

These functions first appeared in glibc in version 2.1.

C99.

ccos(3),clog(3),complex(7)

This page is part of release 3.24 of the Linuxman-pagesproject. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. 2008-08-11