What is the value of $i^i$? I understand that when you raise any number $x$ to a power, you multiply $x$ by itself the number of times indicated in the power. However, what happens when $i^i$ is performed? How can a number be multiplied an imaginary amount of times? Wolfram Alpha says that it is equal to $e^{{-\pi}/{2}}$, but how would you arrive at that answer? Any response will be appreciated, thanks!
$$i^i = e^{i\log i} = e^{i(\log |i|+i\arg i)} = e^{i(i\arg i)} = e^{-\arg i} = e^{-\frac{\pi}{2}+2 \pi k} \qquad k \in \mathbb{Z}$$
For example, $$i^i=(\cos(\pi/2)+i\sin(\pi/2))^i=e^{i(i\pi/2)}=e^{-\pi/2}$$