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: "tobi 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 12:01:54 -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 #4 from tobi at gcc dot gnu dot org 2007-10-07 12:01 -------
(In reply to comment #3)
> I think we need to use tgamma() where available. If it isn't, we
> need a test to check whether gamma() is equivalent to tgamma() or
> to lgamma().
>
> Yuck.
It may be simpler to calculate it ourselves, perhaps lifting code form glibc.
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33683