(a+b*i)^(c+di)
=
cos(((ln(a^(2)+b^(2))*d)/(2))-(((2*arctan(((a)/(b)))-sign(b)*pi)*c)/(2)))*(a^(2)+b^(2))^(((c)/(2)))*e^(arctan(((a)/(b)))*d-((sign(b)*d*pi)/(2)))
+
sin(((ln(a^(2)+b^(2))*d)/(2))-(((2*arctan(((a)/(b)))-sign(b)*pi)*c)/(2)))*(a^(2)+b^(2))^(((c)/(2)))*e^(arctan(((a)/(b)))*d-((sign(b)*d*pi)/(2)))*i
or
cos(u)+sin(u)*i where
u=((ln(a^(2)+b^(2))*d)/(2))-(((2*arctan(((a)/(b)))-sign(b)*pi)*c)/(2)))*(a^(2)+b^(2))^(((c)/(2)))*e^(arctan(((a)/(b)))*d-((sign(b)*d*pi)/(2))
Thanks to mathprograms... why did I not do this sooner? oh well...
But now it has no reason to remain active... D: