Find all possible values of $(-i)^{i}$.
Here is my attempt:
$(-i)^{i}=\mathit{e}^{ilog(-i)}=\mathit{e}^{i(log|-i|+iarg(-i))}=\mathit{e}^{-\frac{3\pi}{2}}=\mathit{e}^{\frac{\pi}{2}+2\pi n}$, where $n$ is an integer.
However, the answer is $\mathit{e}^{\frac{\pi}{2}-2\pi n}$. Why is $2\pi n$ being subtracted?
Note that the solutions
$$e^{\frac\pi2 - 2\pi n}\>\>\>\>\> \text{and} \>\>\>\>\>e^{\frac\pi2 + 2\pi n}$$
are equivalent for $n \in \mathbb{Z} $.