See [sf.cmath.comp.ellint.1].