Powers and roots of complex numbers