FirstIndexNext

[bug-gsl] possible bug in gsl_sf_hyperg_U (2008-04-03)

From: Stefan Gerlach <stefan.gerlach@...............>
Subject: possible bug in gsl_sf_hyperg_U
Date: Thu, 3 Apr 2008 11:22:01 +0200
To: bug-gsl@gnu.org

Hi,

I have a problem using gsl_sf_hyperg_U with certain arguments.
running this example

for(z=3.0;z>0.0;z-=0.1)
printf("%g %g\n",z,gsl_sf_hyperg_U(-2.0,4.0,z));

i get

...
2.2 2.84
2.1 3.41
2 4
gsl: psi.c:381: ERROR: domain error
Default GSL error handler invoked.
Aborted

AFAIK the hypergeometricU is well defined for z> 0.0.
I get the same error with gsl-1.11 on openSUSE 10.X i586 and x86_64.

--
Stefan Gerlach