libdl: end must be bigger than start
[uclibc-ng.git] / libm / w_lgammal.c
blob54668eb4a502b26f752b354f827fdc8587401f13
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.
4 */
6 /*
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
13 * is preserved.
14 * ====================================================
17 /* long double lgammal(long double x)
18 * Return the logarithm of the Gamma function of x.
20 * Method: call __ieee754_lgammal_r
23 #include <math.h>
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.
33 * It is deprecated.
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)
39 #endif