[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-09 Thread tkoenig at gcc dot gnu dot org
--- Comment #9 from tkoenig at gcc dot gnu dot org 2007-10-09 20:13 --- Subject: Bug 33683 Author: tkoenig Date: Tue Oct 9 20:13:18 2007 New Revision: 129174 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129174 Log: 2007-10-09 Thomas Koenig <[EMAIL PROTECTED]> PR li

[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-07 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2007-10-07 21:45 --- Fixed. Let's close this and watch for occurences of gamma_5.f90 failing, then open a new bug report if that happens. -- tkoenig at gcc dot gnu dot org changed: What|Removed |A

[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-07 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2007-10-07 21:36 --- Subject: Bug 33683 Author: tkoenig Date: Sun Oct 7 21:36:09 2007 New Revision: 129116 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129116 Log: 2007-10-07 Thomas Koenig <[EMAIL PROTECTED]> PR li

[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-07 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-10-07 18:43 --- I have tested this on x86-64-linux. It works here as well. After reading the man page myself, I think this is the answer and I would commit it as obvious. The only question is what do other platforms do? AIX hp

[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-07 Thread tkoenig 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) +++

[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-07 Thread tobi 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

[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-07 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2007-10-07 10:22 --- (In reply to comment #2) > I checked and the simplification routines work correctly, which means there is > no real testsuite coverage for these functions. We should always include > testcases comparing values calcul

[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-06 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-10-06 23:04 --- I checked and the simplification routines work correctly, which means there is no real testsuite coverage for these functions. We should always include testcases comparing values calculated at runtime with constan

[Bug libfortran/33683] calculating lgamma instead of gamma

2007-10-06 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2007-10-06 22:28 --- On Darwin I get: /usr/bin/ld: Undefined symbols: _gammaf collect2: ld returned 1 exit status Target: powerpc-apple-darwin8 Configured with: ../gcc-4.3-work/configure --prefix=/opt/gcc/gcc4.3w --mandir=/opt/gcc/gcc4.