bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] Bug in gamma.c


From: Mindaugas M
Subject: [Bug-gsl] Bug in gamma.c
Date: Wed, 30 Mar 2011 13:48:13 +0300

Dear GSL Team,

I found code inconsistencies in the `gamma.c' source file.
The source code (line 1149):

  double s = sin(M_PI*z);

in function `gsl_sf_lngamma_e' is not consistent with the
code (line 1215):

  double s = sin(M_PI*x);

in function `gsl_sf_lngamma_sgn_e' (see `x' vs. `z') , although
they should.

I suspect the correct statement should use `z' instead of `x'.

Could you please answer me whether `z' or `'x' should be used in the
above statements? Because I'm going to use these codes.

Thank you.

Mindaugas,
Researcher


reply via email to

[Prev in Thread] Current Thread [Next in Thread]