I don't understand what is wrong with the following reasoning. Can someone help me understand? $f:\mathbb{R}\to \mathbb{C}$ by $f(t) = e^{2\pi ~i ~t} = ((e^{i\pi})^2)^{t} = ((-1)^2)^{t} = 1^{t} = 1$
I don't see where the computation goes wrong, but it is obviously wrong somewhere.