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