micropython/lib/libm_dbl/lgamma.c

9 lines
128 B
C

#include <math.h>
double __lgamma_r(double, int*);
double lgamma(double x) {
int sign;
return __lgamma_r(x, &sign);
}