This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gsl_sf_psi_1piy


Hi,

gsl_sf_psi_1piy() is an even function.
(see 6.3.10 of Abramowitz and Stegun)

The following changes should be made in psi.c:

line 491
    const double lny = log(y); /* FIXME: y < 0 ?? */
--->
    const double lny = log(ay);

line 500
    const double lny = log(y);
--->
    const double lny = log(ay);

=====================================
Dr. Hiroshi Imamura (hima@cmt.ims.tohoku.ac.jp)

Graduate School of Information Sciences,
Tohoku University, Aobaku-aramaki
Sendai 980-8579 Japan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]