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

--- Comment #7 from emsr at gcc dot gnu.org ---
Author: emsr
Date: Wed Mar  6 13:38:32 2019
New Revision: 269423

URL: https://gcc.gnu.org/viewcvs?rev=269423&root=gcc&view=rev
Log:
2019-03-06  Edward Smith-Rowland  <3dw...@verizon.net>

        PR libstdc++/86655 - std::assoc_legendre should not constrain
        the value of m (or x).
        * include/tr1/legendre_function.tcc (__assoc_legendre_p,
        __sph_legendre): If degree > order Don't throw, return 0.
        (__legendre_p, __assoc_legendre_p): Don't constrain x either.
        * testsuite/special_functions/02_assoc_legendre/pr86655.cc: New test.
        * testsuite/special_functions/20_sph_legendre/pr86655.cc: New test.
        * testsuite/tr1/5_numerical_facilities/special_functions/
        02_assoc_legendre/pr86655.cc: New test.
        * testsuite/tr1/5_numerical_facilities/special_functions/
        22_sph_legendre/pr86655.cc: New test.


Added:
    trunk/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/pr86655.cc
    trunk/libstdc++-v3/testsuite/special_functions/20_sph_legendre/pr86655.cc
   
trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/02_assoc_legendre/pr86655.cc
   
trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/22_sph_legendre/pr86655.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/tr1/legendre_function.tcc

Reply via email to