https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66689

            Bug ID: 66689
           Summary: comp_ellint_3 and ellint_3 return garbage values
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: john at johnmaddock dot co.uk
  Target Milestone: ---

The std::tr1 functions comp_ellint_3 and ellint_3 appear to return garbage
values whenever the nu parameter is non zero.

For example:

comp_ellint_3(0.75, 0) returns 1.91099 which is correct, but
comp_ellint_3(0.75, 0.5) returns 1.52852 when it should be 2.80011 (see for
example http://www.wolframalpha.com/input/?i=EllipticPi[0.5%2C+0.75^2] but note
different parameterization on the wolfram site)

Similar errors occur with ellint_3 rendering these functions essentially
useless as far as I can see?

Reply via email to