Can this be done to the real and imaginary parts separately without explicitly using sqrt(-1)?