[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2019-03-12 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 --- Comment #9 from joseph at codesourcery dot com --- On Mon, 4 Mar 2019, emsr at gcc dot gnu.org wrote: > Also, the legendre functions should not be onstrained on the argument x > either. > They are just polynomials. The recursions are

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2019-03-06 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 emsr at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2019-03-06 Thread emsr at gcc dot gnu.org
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=gcc=rev Log: 2019-03-06 Edward Smith-Rowland <3dw...@verizon.net> PR

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2019-03-04 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 --- Comment #6 from emsr at gcc dot gnu.org --- Also, the legendre functions should not be onstrained on the argument x either. They are just polynomials. The recursions are numerically good in this range (|x| > 1) also.

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2019-01-13 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 --- Comment #5 from emsr at gcc dot gnu.org --- Created attachment 45423 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45423=edit Final patch that passes. 2018-01-14 Edward Smith-Rowland <3dw...@verizon.net> PR libstdc++/86655

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2019-01-11 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 --- Comment #4 from emsr at gcc dot gnu.org --- Created attachment 45414 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45414=edit This is a patch on both std and tr1, both sph_legendre and assoc_legendre. 2018-01-11 Edward Smith-Rowland

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2019-01-10 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 --- Comment #3 from emsr at gcc dot gnu.org --- Sorry for missing this message. You're right. Ditto for sph_legendre. Putting together a patch.

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2018-07-25 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 --- Comment #2 from Matthias Kretz --- http://eel.is/c++draft/c.math#sf.cmath-1.3 might be the reason why `m <= l` is enforced. But unless I'm confused the footnote on "mathematically defined" tells us it should work: - "(a) if it is explicitly

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2018-07-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|