Principal complex logarithm (source code)

= Principal complex logarithm

The principal complex logarithm is $\operatorname{Log}z=\log|z|+i\operatorname{Arg}z$ with $-\pi<\operatorname{Arg}z\leq\pi$.