It is probably not worth supporting gamma.
(it was already deprecated in 4.3BSD)
-#include "libm.h"
+#include <math.h>
extern int __signgam;
double __lgamma_r(double, int *);
{
return __lgamma_r(x, &__signgam);
}
-
-// FIXME
-//weak_alias(lgamma, gamma);
-#include "libm.h"
+#include <math.h>
extern int __signgam;
float __lgammaf_r(float, int *);
{
return __lgammaf_r(x, &__signgam);
}
-
-// FIXME
-//weak_alias(lgammaf, gammaf);
#include "libm.h"
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
+double __lgamma_r(double x, int *sg);
+
long double __lgammal_r(long double x, int *sg)
{
return __lgamma_r(x, sg);