e^(i π floor(1/2+(arg(a+i b))/(2 π)))