No one ever answered original ZZZ's question in a straightforward shortest code
" Mathematica chooses the branch cut for log(z) to lie along the negative real axis. It it possible to change this so that it lies along the positive axis or elsewhere in the complex plane?"
I don't understand the complicated answers given and the codes don't work. The natural cut should be a jump of imaginary part from -2pi to 0 when crossing the real x axis. Please give short understandable code and verify this
θ = t0
, thenLog[-Exp[-I t0] z] - I Pi + I t0
. $\endgroup$