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