1 2 3 4 5 6 7 8 9 10
#define _GNU_SOURCE #include "libm.h" double lgamma(double x) { return lgamma_r(x, &signgam); } // FIXME //weak_alias(lgamma, gamma);