Follow-up Comment #1, bug #58065 (group gsl): Your finding is correct. There are sections of code that deal with lambda = 0, but none set the value to zero. Also, the value is zero when n is odd and x = 0.
In summary:
1- Where the test for lambda == 0 is made, set result->val = 0.0 and
result->err = 0.0.
2- Expand the test, so from (lambda == 0) to (lambda == 0 || (GSL_IS_ODD(n) &&
fabs(x) < GSL_DBL_EPSILON)).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58065>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
