This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/33683] calculating lgamma instead of gamma
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2007 16:48:03 -0000
- Subject: [Bug libfortran/33683] calculating lgamma instead of gamma
- References: <bug-33683-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from tkoenig at gcc dot gnu dot org 2007-10-07 16:48 -------
This fixes things at least on my system; this also
passes regression-testing.
Index: mathbuiltins.def
===================================================================
--- mathbuiltins.def (revision 129050)
+++ mathbuiltins.def (working copy)
@@ -30,5 +30,5 @@ DEFINE_MATH_BUILTIN (Y1, "y1",
DEFINE_MATH_BUILTIN (YN, "yn", 2)
DEFINE_MATH_BUILTIN (ERF, "erf", 0)
DEFINE_MATH_BUILTIN (ERFC, "erfc", 0)
-DEFINE_MATH_BUILTIN (GAMMA, "gamma", 0)
+DEFINE_MATH_BUILTIN (GAMMA, "tgamma", 0)
DEFINE_MATH_BUILTIN (LGAMMA,"lgamma", 0)
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tkoenig at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-10-07 10:22:12 |2007-10-07 16:48:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33683