projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use alternate formula for acos asm to avoid loss of precision
[oweals/musl.git]
/
src
/
math
/
lgamma.c
diff --git
a/src/math/lgamma.c
b/src/math/lgamma.c
index 9af7eee4f684e07fb5acaf7bf29618cfd68bc94f..d8b85312b82494b8afcedc41c20590ee96a7ae78 100644
(file)
--- a/
src/math/lgamma.c
+++ b/
src/math/lgamma.c
@@
-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