#include "libm.h"
+extern int __signgam;
double __lgamma_r(double, int *);
double lgamma(double x)
{
- return __lgamma_r(x, &signgam);
+ return __lgamma_r(x, &__signgam);
}
// FIXME
#include "libm.h"
+extern int __signgam;
float __lgammaf_r(float, int *);
float lgammaf(float x)
{
- return __lgammaf_r(x, &signgam);
+ return __lgammaf_r(x, &__signgam);
}
// FIXME
}
#endif
+extern int __signgam;
+
long double lgammal(long double x)
{
- return __lgammal_r(x, &signgam);
+ return __lgammal_r(x, &__signgam);
}
weak_alias(__lgammal_r, lgammal_r);