Integer residue of a logarithmic derivative (source code)

= Integer residue of a logarithmic derivative

If $g$ is holomorphic and nonvanishing on a punctured disc, then
$$
\operatorname{res}_0\frac{g'}g
=\frac1{2\pi i}\int_C\frac{g'}g\,dz
$$
is the integer winding number of $g(C)$ about zero. If it equals $k$, the logarithmic derivative of $z^{-k}g(z)$ has a removable singularity at zero.