Suppose $a$ is real and nonnegative. Say we wanted to compute the above function (for whatever reason, be it to solve an improper real integral, or something else) along the curve $C$, as on the picture. I have chosen the contour as to avoid the branch cut connecting the three branch points. Supposing $arg\left ( z \right ) \in \left [ 0, 2\pi \right )$ I also made parametrisations for each part of the contour. However, I wasn't able to do so for the parts $C_{i}$, $i=1,2,3$.
In several integrals like this and this one Ron talks about assigning a phase to the segments. To me it seems like he is assigning the phase as if the branch point was now the origin of the plane, and the phase he added was relative to that point, am I right on this one? With that being said I would say that $$C2: z=iye^{i\pi}$$ $$C3: z=iye^{-i\pi}$$ $$C1: z=iye^{i0}$$ However this doesn't look right as the argument wasn't defined for $\left [ -\pi,\pi \right )$. How do we deal with these branch cuts? And how to know what phase to add? Note that I have asked a similar question here for a different function, but I didn't receive satisfactory answers(due to my poor wording, I guess).