double complex cacos(double complex z);

cacos returns the principal value the inverse cosine of z with branch cuts outside the interval [-1,+1] on the real axis. The principal value lies in the interval [0, π] on the real axis and in the range of a strip mathematically unbounded on the imaginary axis.