about summary refs log tree commit diff
path: root/src/math/lgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/lgamma.c')
-rw-r--r--src/math/lgamma.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/math/lgamma.c b/src/math/lgamma.c
new file mode 100644
index 00000000..d12462b9
--- /dev/null
+++ b/src/math/lgamma.c
@@ -0,0 +1,9 @@
+#include "libm.h"
+
+double lgamma(double x)
+{
+	return lgamma_r(x, &signgam);
+}
+
+// FIXME
+//weak_alias(lgamma, gamma);