bugGNU Scientific Library - Bugs: bug #32306, sign error in gsl_sf_hyperg_2F1

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #32306: sign error in gsl_sf_hyperg_2F1

Submitter:  -Deleted Account- <bjg>
Submitted:  Mon 31 Jan 2011 04:47:44 PM UTC
   
 
Category:  Accuracy problem Severity:  3 - Normal
Operating System:  Status:  Confirmed
Assigned to:  None Open/Closed:  Open
Release:  1.14

Sat 01 Feb 2025 02:20:47 PM UTC, comment #1: 

Demonstration of discontinuity by looping over the values -0.5 < x < 1.
Value incorrect for 0.5 < x < 1 and error incorrect for 0 < x < 0.5.

Generated in gnuplot:
plot 'bug32306.out' using 1:3 title 'error' pt 7 ps 0.4, 'bug32306.out' using 1:2 title 'value' with lines


Fermé le Lundi <fermelelundi>
Mon 31 Jan 2011 04:47:44 PM UTC, original submission:  

There's a sign error discontinuity in gsl_sf_hyperg_2F1(-0.5,1.5,1,x) for x~=~0.5

bjg@nc:~/tmp$ ./a.out
0.5 -0.539352 8.64471e-15
0.5 0.539353 6.22896e-14

-Deleted Account- <bjg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #56843:  bug32306.png added by fermelelundi (16KiB - image/png)
file #22573:  hyp.c added by bjg (354B - text/x-csrc - test program)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fermelelundi (Updated the item)
  • -email is unavailable- added by bjg
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-02-01 fermelelundi Attached File- Added bug32306.png, #56843
    2011-01-31 bjg Attached File- Added hyp.c, #22573
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.14-9aa3.
    Corresponding source code