
\[\operatorname{arccos}z=\tfrac{1}{2}\pi+i\ln\left((1-z^{2})^{1/2}+iz\right),\]