This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] |
this fixes PR 33683 on the sytems (such as libc systems) where gamma() actually returns the logarithm of the gamma function.
The test case risks failure on systems where there is no tgamma() function. We probably need a separate tgamma function for these systems. The current patch is an improvement over the old status, where we would return (horribly) wrong values silently.
Regression-tested on i686-pc-linux-gnu, where we used to return the wrong values. OK for trunk?
Cheers, - Tobi
2007-10-07 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/33683 * mathbuiltins.def (GAMMA): Change function name to "tgamma" instad of "gamma".
2007-10-07 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/33683 * gamma_5.f90: New test case
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |