I was working on the question, to show that $i^i$ is a real number.
That was however straight forward,
$$i = e^{i\frac{\pi }{2}}$$ so
$$i^i = (e^{i\frac{\pi }{2}})^{i}= e^{-\frac{\pi }{2}}$$
So I thought I'd similarly work out the value of $2^i$ or $3^i$, but got stuck,
$$2^i = (2e^{i0})^{i}$$ $$= 2^i e^{0}=2^i $$
which does not help, so I tired,
$$2^i = (2e^{2\pi i})^{i}= 2^ie^{-2\pi }$$
which is utter nonsense (and bad maths?)
So google gives a value of, $$2^i = 0.769238901 + 0.638961276 i$$
So my question is where does that come from? How can one compute a complex exponent?