use alternate formula for acos asm to avoid loss of precision
[oweals/musl.git] / src / math / lgammaf.c
index aed98ba44ff94ba09d1051b87e7772d4af45c27f..b3d996cf29ec42e810f549e4369bb20915ab9e4b 100644 (file)
@@ -1,9 +1,11 @@
-#define _GNU_SOURCE
 #include "libm.h"
 
+extern int __signgam;
+float __lgammaf_r(float, int *);
+
 float lgammaf(float x)
 {
-       return lgamma_r(x, &signgam);
+       return __lgammaf_r(x, &__signgam);
 }
 
 // FIXME