9 lines
128 B
C
Raw Normal View History

2025-10-10 16:07:00 +08:00
#include <math.h>
double __lgamma_r(double, int*);
double lgamma(double x) {
int sign;
return __lgamma_r(x, &sign);
}