This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: builtin gamma function
James Hirschorn <James.Hirschorn@hotmail.com> writes:
> I guess "fold" means do the computation at compile time?
Yes.
> No, it is being called with a variable. That is interesting that libc has a
> gamma function. I will have to track down the implementation ...
I believe it is here:
http://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/ieee754/dbl-64/e_lgamma_r.c;h=e26ce8a24798d7e70b784c02dbbbc93e6a2ddb8e;hb=HEAD
Ian