If $ -\infty < X, Y < \infty$, what is the support of 

\begin{equation}
\textrm{tan}^{-1}\frac{X}{Y}.
\end{equation}

I thought it is $(-\pi/2, \pi/2)$, but I saw in a book that it is $(-\pi, \pi)$.

Any reason for this difference?