[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd
emsr at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 10 14:01:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83140
--- Comment #4 from emsr at gcc dot gnu.org ---
Author: emsr
Date: Thu May 10 13:59:52 2018
New Revision: 260115
URL: https://gcc.gnu.org/viewcvs?rev=260115&root=gcc&view=rev
Log:
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_assoc_legendre.cc: Regen.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/check_tr1_assoc_legendre.cc: Regen.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/legendre_function.tcc
trunk/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_value.cc
trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/02_assoc_legendre/check_value.cc
More information about the Gcc-bugs
mailing list