Knowing that every nonsingular matrix in $M_n(\mathbb{C})$ (the set of size $n$ matrices with complex entries) is an exponential of some matrix in $M_n(\mathbb{C})$, what can be said to answer the question:
For which matrices $A$ in $M_n(\mathbb{C})$, does the equation $$\cos X = A$$ have a solution $X$ in $M_n(\mathbb{C})$?
In principal, what one has to do is the following:
For non-singular $A$, write $A = U^{-1} J U$ with $$J = \bigoplus_{n=1}^N J(\lambda_n, N_n), J(\lambda, N) = \lambda I_N + K_N$$ $$K_N = \begin{pmatrix} 0 & 1 & 0 & 0 &\dots & 0 \\ 0 & 0 & 1 & 0 & \dots & 0 \\ \vdots & & & & &\vdots \\ 0 & 0 & 0 & 0 & \dots & 1 \\ 0 & 0 & 0 & 0 & \dots & 0 \end{pmatrix}$$ being its Jordan decomposition. Finding an arccos of $A$ reduces to finding an arccos of the Jordan blocks: $$\arccos A = U^{-1} \cdot \left(\bigoplus_{n=1}^N \arccos (\lambda_n I + K_N) \right) \cdot U $$ You need (for each $\lambda_n$ individually) to find a series expansion of arccos that is valid around $\lambda_n$. If I am not mistaken, this should work whenever $$\sigma(A) \subset \mathbb C \setminus [ (-\infty, -1]\cup [+1, \infty)]$$
Suppose you want to evaluate $$\sum_{n=0}^\infty a_n (z-z_0)^n$$ on $\lambda I + K$. This is $$(\lambda I + K - z_0 I)^n = ((\lambda - z_0) I + K)^n = (\lambda - z_0)^n I + n!\,(\lambda - z_0 )^{n-1} K + \dots$$ which converges under the same circumstances as the original power series in C.