The cacos functions compute the complex arc cosine of z, with branch cuts outside the interval [-1, +1] along the real axis.