e^(iπ) is (e^i)^π.
There is a concrete complex number e^i:
[1]> (exp 1)
2.7182817
[2]> (expt (exp 1) #c(0 1))
#C(0.54030234 0.84147096)
See, it's around 0.54 + 0.84i. It's on the unit circle.When you raise this number to pi, you get -1.
[3]> (expt * pi)
#C(-1.0 1.2776314E-7)
This means it's the pi-th root of -1; let's try it: [4]> (expt -1 (/ pi))
#C(0.5403023058681397174L0 0.84147098480789650666L0)
and e must be the i-th root of this: [5]> (expt * (/ #c(0 1)))
#C(2.7182818284590452354L0 -4.6847612413106414363L-20)
Yes; it is all literally exponentiation which we can approximate with concrete floating-point numbers that know nothing about the formula we are exploring.