GNU Scientific Library - Bugs: bug #45730, Inaccurancy problems in the...
You are not allowed to post comments on this tracker with your current authentication level.
bug #45730: Inaccurancy problems in the function bessel_j2
Submitter: | Enyi Tang <eytang> | ||
Submitted: | Tue 11 Aug 2015 01:01:01 AM UTC | ||
Category: | Accuracy problem | Severity: | 3 - Normal |
Operating System: | Status: | Fixed | |
Assigned to: | None | Open/Closed: | Closed |
Release: | GSL-1.16 |
Sun 07 May 2017 03:44:03 PM UTC, comment #2: |
Patrick Alken <psa> |
Thu 13 Aug 2015 06:08:15 AM UTC, comment #1: The fixing suggestion is submitted with Bug #45746. I believe it is also helpful in fixing bug #36152. |
Enyi Tang <eytang> |
Tue 11 Aug 2015 01:01:01 AM UTC, original submission:
I find the result of gsl_sf_bessel_j2 at large input is wrong. But the results of gsl_sf_bessel_j0 and gsl_sf_bessel_j1 are right. A test case is attached, and I will further investigate the reason and may provide some clues from the code. The outputs of the attached test case are as follows with the latest version of GSL in git. The version hash is 867624b55b20de8da80d23d90549c74ec24cb3a6 on Aug. 7, 2015.
|
Enyi Tang <eytang> |
Depends on the following items: None found
Items that depend on this one: None found
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-05-07 | psa | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2015-08-11 | eytang | Attached File | - | Added gslbesseljtest.c, #34621 |
Powered by Savane 3.13-02a9.
Corresponding source code
fixed in commit bd5b94b47bad7f8c0beb3036cb256a341e67ad5d - switch from gsl_sf_{cos,sin} to cos/sin