This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [Patch, Fortran] PR32980 - Add GAMMA and LGAMMA intrinsics


Tobias Burnus wrote:
:ADDPATCH fortran:

This patch adds:

a) The gamma function as vendor intrinsic GAMMA with the specific names
GAMMA and DGAMMA. (Only) "GAMMA" is also part of the current Fortran
2008 draft.

b) The logarithm of the absolute value of the Gamma function as vendor
intrinsic LGAMMA with the specific names AGAMA and DGAMA. The Fortran
2008 draft has this function under the name LOG_GAMMA.

While LGAMMA is compatible to LOG_GAMMA, I did not add the F2008/draft
version. Anyone thinks that I should?


Note: The functions tgamma (t = true) and lgamma are part of C99.


Regression tested on x86-64/Linux. Ok for the trunk?

OK

Thanks

Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]