summaryrefslogtreecommitdiff
path: root/src/math/lgammaf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/lgammaf.c')
-rw-r--r--src/math/lgammaf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/math/lgammaf.c b/src/math/lgammaf.c
new file mode 100644
index 00000000..f50f2379
--- /dev/null
+++ b/src/math/lgammaf.c
@@ -0,0 +1,9 @@
+#include "libm.h"
+
+float lgammaf(float x)
+{
+ return lgamma_r(x, &signgam);
+}
+
+// FIXME
+//weak_alias(lgammaf, gammaf);