[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd
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 <3dw...@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.
[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83140 --- Comment #5 from emsr at gcc dot gnu.org --- Author: emsr Date: Fri May 11 01:44:05 2018 New Revision: 260149 URL: https://gcc.gnu.org/viewcvs?rev=260149&root=gcc&view=rev Log: correct changelog! 2018-05-10 Edward Smith-Rowland <3dw...@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. Modified: trunk/libstdc++-v3/ChangeLog
[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd
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 <3dw...@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
[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83140 --- Comment #3 from Jonathan Wakely --- Dinkumware also have an implementation of the TR1 special functions.
[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83140 --- Comment #2 from emsr at gcc dot gnu.org --- The fact that Boost followed us into this makes the situation interesting. We are the only two impls that I know of. I like the std convention slightly better but maybe we should ask for a lib change. or not.
[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83140 --- Comment #1 from emsr at gcc dot gnu.org --- Created attachment 44047 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44047&action=edit This adds a defaulted arg to the underlying __assoc_legendre_p for phase. 2018-05-02 Edward Smith-Rowland <3dw...@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: Regenerate. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_tr1_assoc_legendre.cc: Regenerate. * testsuite/special_functions/02_assoc_legendre/pr83140.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/pr83140.cc: New.
[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83140 emsr at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2018-05-01 Ever confirmed|0 |1