projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove another invalid skip of locking in ungetwc
[oweals/musl.git]
/
src
/
math
/
tgammaf.c
diff --git
a/src/math/tgammaf.c
b/src/math/tgammaf.c
index 16df80762be2473486f8cc1ed0d0de6e33527610..b4ca51c9f7a862f0747d3c33e25a9063b4ded981 100644
(file)
--- a/
src/math/tgammaf.c
+++ b/
src/math/tgammaf.c
@@
-1,16
+1,6
@@
#include <math.h>
-// FIXME: use lanczos approximation
-
-float __lgammaf_r(float, int *);
-
float tgammaf(float x)
{
- int sign;
- float y;
-
- y = exp(__lgammaf_r(x, &sign));
- if (sign < 0)
- y = -y;
- return y;
+ return tgamma(x);
}