When I type in the identity $e^{\pi\sqrt{-1}}$ on my phone calculator (LG phone running Android), I get the correct result of $-1$
However, when I simply type $\sqrt{-1}$, it returns an error.
Why can the calculator do $e^{\pi\sqrt{-1}}$, but not do $\sqrt{-1}$ if $\sqrt{-1}$ is a direct part of $e^{\pi\sqrt{-1}}$?