summaryrefslogtreecommitdiff
path: root/src/math/lgamma.c
blob: d8b85312b82494b8afcedc41c20590ee96a7ae78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "libm.h"

extern int __signgam;
double __lgamma_r(double, int *);

double lgamma(double x)
{
	return __lgamma_r(x, &__signgam);
}

// FIXME
//weak_alias(lgamma, gamma);