Residue at infinity from an asymptotic constant (source code)

= Residue at infinity from an asymptotic constant

If $F(z)=L+O(1/z)$ uniformly on large circles, then $F(z)/z$ has residue $L$ at infinity in the large-contour sense and its counterclockwise large-circle integral tends to $2\pi iL$.