This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32980] Vendor extension: Intrinsic functions (D)GAMMA, LGAMMA (ALGAMA/DLGAMA)
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2007 19:32:53 -0000
- Subject: [Bug fortran/32980] Vendor extension: Intrinsic functions (D)GAMMA, LGAMMA (ALGAMA/DLGAMA)
- References: <bug-32980-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2007-08-04 19:32 -------
> Aren't they included in the current F2008, by any chance?
Yes and no. The Fortran 2008 draft has the following functions, but they are
not necessarily called the same as the typical vendor extensions.
http://j3-fortran.org/doc/year/07/07-007r2.pdf
ACOSH, ASINH, ATANH Inverse hyperbolic functions [exist in gfortran]
BESSEL_J0, _J1, _JN, _Y0, _Y1, _YN Bessel functions [exist as BESJ0 etc.]
ERF Error function [exists]
ERFC Complementary error function [exists]
ERFC_SCALED Exponentially scaled ERFC [not in gfortran]
GAMMA Gamma function [not in gfortran ;-)]
HYPOT = sqrt(x**2+y**2) [not in gfortran]
LOG_GAMMA [not in gfortran ;-)]
NORM2 L_2 norm [not in gfortran]
No specific names seems to exist for those whereas the compiler extensions
have:
for GAMMA: DGAMMA and for LGAMMA [F2003: LOG_GAMMA]: ALGAMA, DLGAMA.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32980