X-Git-Url: https://gitweb.dragonflybsd.org/~nant/dragonfly.git/blobdiff_plain/1b74c588a56893bcb3307a16a21d82d346f8ba59..2fedfd5c07f058b632472f2feea2e43949def7d3:/lib/libm/src/e_lgamma.c diff --git a/lib/libm/src/e_lgamma.c b/lib/libm/src/e_lgamma.c index 0259a3856e..d6893204a7 100644 --- a/lib/libm/src/e_lgamma.c +++ b/lib/libm/src/e_lgamma.c @@ -1,6 +1,5 @@ /* @(#)e_lgamma.c 1.3 95/01/18 */ -/* $FreeBSD: head/lib/msun/src/e_lgamma.c 176451 2008-02-22 02:30:36Z das $ */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -13,12 +12,15 @@ * */ + /* __ieee754_lgamma(x) * Return the logarithm of the Gamma function of x. * * Method: call __ieee754_lgamma_r */ +#include + #include "math.h" #include "math_private.h" @@ -29,3 +31,7 @@ __ieee754_lgamma(double x) { return __ieee754_lgamma_r(x,&signgam); } + +#if (LDBL_MANT_DIG == 53) +__weak_reference(lgamma, lgammal); +#endif