Given a non-zero complex number $z$, write $\mathrm{arg}(z)$ for the prinicipal argument of $z$, defined as the unique $\theta \in (-\pi,\pi]$ for which there exists $r \in \mathbb{R}_{>0}$ such that $z = r e^{i\theta}.$
Then for all non-zero $z$, we have: $$\tan(\mathrm{arg}(z)) = \frac{\Im z}{\Re z}$$
Unfortunately, the "inverse" formula $$\mathrm{arg}(z)=\mathrm{tan}^{-1}\left(\frac{\Im z}{\Re z}\right)$$ only works for $\Re z \geq 0,$ due to injectivity issues.
We can fix this by introducing a correction factor. Define a function $$f : \mathbb{C}_{\neq 0} \rightarrow \mathbb{R}$$ by writing
$$f(z) = \begin{cases}\pi & \Re z < 0 \,\&\,\Im z \geq 0 \\ -\pi &\Re z < 0 \,\&\,\Im z < 0 \\ 0\end{cases}$$
Then if I'm not mistaken, we have: $$\forall(z \in \mathbb{C}_{\neq 0})\qquad \mathrm{arg}(z) = \mathrm{tan}^{-1}\left(\frac{\Im z}{\Re z}\right) + f(z).$$
More generally, for any half-open interval $I \subseteq \mathbb{R}$ of length $2\pi$, there should be a corresponding function $$f_I : \mathbb{C}_{\neq 0} \rightarrow \mathbb{R}$$ such that $$\forall(z \in \mathbb{C}_{\neq 0}) \qquad \mathrm{arg}_I(z) = \mathrm{tan}^{-1}\left(\frac{\Im z}{\Re z}\right)+f_I(z).$$
Question.
Q0. Is there a name for $f_I$, in either the special case given above corresponding to $I = (-\pi,\pi]$, or else in the general case?
Q1. What's the explicit formula for $f_I(z)$, for arbitrary $I = (a,b]$ where $b-a =2\pi$?
The answer to $Q0$ is $\arg(z) = 2\tan^{-1}(y/(|z|+x))$ if $z=x+yi$ with no correction needed.
The advantage of this formula is that it only uses $\tan^{-1}$ and $|z|$ and works for all $z\neq 0$.
The answer to $Q1$ is $\:\arg(zc)/c\:$ for some $c\in C$ with $|c|=1$.