Youve not said what your mod-arg number represents but if its z^3 then youve done the classic arctan mistake. Both the real and imaginary parts are negative (take the 32... over) and so the arg is -2pi/3 not pi/3. arctan is only valid for -pi/2..pi/2.