1 /* w_lgammal.c -- long double version of w_lgamma.c.
2 * Conversion to long double by Ulrich Drepper,
3 * Cygnus Support, drepper@cygnus.com.
7 * ====================================================
8 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
10 * Developed at SunPro, a Sun Microsystems, Inc. business.
11 * Permission to use, copy, modify, and distribute this
12 * software is freely granted, provided that this notice
14 * ====================================================
17 /* long double lgammal(long double x)
18 * Return the logarithm of the Gamma function of x.
20 * Method: call __ieee754_lgammal_r
24 #include "math_private.h"
26 #if !defined __NO_LONG_DOUBLE_MATH
27 long double lgammal(long double x
)
29 return lgammal_r(x
, &signgam
);
32 /* NB: gamma function is an old name for lgamma.
34 * Some C math libraries redefine it as a "true gamma", i.e.,
35 * not a ln(|Gamma(x)|) but just Gamma(x), but standards
36 * introduced tgamma name for that.
38 strong_alias(lgammal
, gammal
)