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