[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd

emsr at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 21 21:59:00 GMT 2018


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

emsr at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from emsr at gcc dot gnu.org ---
2018-05-10  Edward Smith-Rowland  <3dw4rd@verizon.net>

        PR libstdc++/83140 - assoc_legendre returns negated value when m is odd
        * include/tr1/legendre_function.tcc (__assoc_legendre_p): Add __phase
        argument defaulted to +1.  Doxy comments on same.
        * testsuite/special_functions/02_assoc_legendre/
        check_value.cc: Regen.
        * testsuite/tr1/5_numerical_facilities/special_functions/
        02_assoc_legendre/check_value.cc: Regen.


More information about the Gcc-bugs mailing list