1#include <math.h> 2 3extern int __signgam; 4double __lgamma_r(double, int*); 5 6double lgamma(double x) { 7 return __lgamma_r(x, &__signgam); 8} 9