This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r269423 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: emsr at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Mar 2019 13:38:33 -0000
- Subject: r269423 - in /trunk/libstdc++-v3: ChangeLog inc...
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 <3dw4rd@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