use alternate formula for acos asm to avoid loss of precision
[oweals/musl.git] / src / math / lgamma.c
index 9af7eee4f684e07fb5acaf7bf29618cfd68bc94f..d8b85312b82494b8afcedc41c20590ee96a7ae78 100644 (file)
@@ -1,9 +1,11 @@
-#define _GNU_SOURCE
 #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