remove erroneous spaces
[AROS.git] / compiler / stdc / math / e_lgamma.c
blob56d324e13b393348d5aacf83de4c65403cabf72b
2 /* @(#)e_lgamma.c 1.3 95/01/18 */
3 /*
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
10 * is preserved.
11 * ====================================================
15 #ifndef lint
16 static char rcsid[] = "$FreeBSD: src/lib/msun/src/e_lgamma.c,v 1.9 2008/02/22 02:30:35 das Exp $";
17 #endif
19 /* __ieee754_lgamma(x)
20 * Return the logarithm of the Gamma function of x.
22 * Method: call __ieee754_lgamma_r
25 #include <float.h>
26 #include "math.h"
27 #include "math_private.h"
29 #include "__stdc_intbase.h"
31 double
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));
41 #endif