This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: C99 headers namespace patch
James Antill <james@and.org> writes:
> > @@ -345,7 +345,7 @@
> > /* Error and gamma functions. */
> > #define erf(Val) __TGMATH_UNARY_REAL_ONLY (Val, erf)
> > #define erfc(Val) __TGMATH_UNARY_REAL_ONLY (Val, erfc)
> > -#define gamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, gamma)
> > +#define tgamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, tgamma)
> > #define lgamma(Val) __TGMATH_UNARY_REAL_ONLY (Val, lgamma)
>
> The above looks like a source incompatible change, as gamma() exists
> in my 2.1.3 headers.
It doesn't matter. The gamma functions aren't correctly implemented
anyway except for double and float and the float version is
effectively the same as the double version.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------