public Complex powi(Complex z) { double ex = Math.pow(Math.E, z.real()); return new Complex((float) (ex * Math.cos(z.imag())), (float) (ex * Math.sin(z.imag()))); }