2 /* @(#)e_lgamma.c 1.3 95/01/18 */
4 * ====================================================
5 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
7 * Developed at SunSoft, a Sun Microsystems, Inc. business.
8 * Permission to use, copy, modify, and distribute this
9 * software is freely granted, provided that this notice
11 * ====================================================
16 static char rcsid
[] = "$FreeBSD: src/lib/msun/src/e_lgamma.c,v 1.9 2008/02/22 02:30:35 das Exp $";
19 /* __ieee754_lgamma(x)
20 * Return the logarithm of the Gamma function of x.
22 * Method: call __ieee754_lgamma_r
27 #include "math_private.h"
29 #include "__stdc_intbase.h"
32 __ieee754_lgamma(double x
)
34 struct StdCBase
*StdCBase
= __aros_getbase_StdCBase();
35 return __ieee754_lgamma_r(x
,&StdCBase
->_signgam
);
38 #if LDBL_MANT_DIG == DBL_MANT_DIG
39 AROS_MAKE_ASM_SYM(typeof(lgammal
), lgammal
, AROS_CSYM_FROM_ASM_NAME(lgammal
), AROS_CSYM_FROM_ASM_NAME(lgamma
));
40 AROS_EXPORT_ASM_SYM(AROS_CSYM_FROM_ASM_NAME(lgammal
));