Computes the phase of a complex number.
- z (Complex)
- The argument.
The value of arg(z).
The phase of a complex number is the angle between the line joining it to the origin and the real axis of the complex plane.
The phase of complex numbers in the upper complex plane lies between 0 and π. The phase of complex numbers in the lower complex plane lies between 0 and -π. The phase of a real number is zero.