diff options
author | Edward Smith-Rowland <3dw4rd@verizon.net> | 2019-03-06 13:38:32 +0000 |
---|---|---|
committer | Edward Smith-Rowland <emsr@gcc.gnu.org> | 2019-03-06 13:38:32 +0000 |
commit | f29a1ef2d8efb9423b878c9d5da1961527fce707 (patch) | |
tree | 21b8b63b090cccd3d46c16a7baa8544920926c05 /libobjc | |
parent | 669a6fdcb436ae81f7621c35d90f7c41ed2117a7 (diff) | |
download | gcc-f29a1ef2d8efb9423b878c9d5da1961527fce707.zip gcc-f29a1ef2d8efb9423b878c9d5da1961527fce707.tar.gz gcc-f29a1ef2d8efb9423b878c9d5da1961527fce707.tar.bz2 |
PR libstdc++/86655 - std::assoc_legendre should not constrain
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.
From-SVN: r269423
Diffstat (limited to 'libobjc')
0 files changed, 0 insertions, 0 deletions