1 2 3 4 5 6 7
#include <math.h> #include "libm.h" double lgamma(double x) { return __lgamma_r(x, &__signgam); }