#include "libm.h" // for __lgamma_r, __signgam #include // for lgamma double lgamma(double x) { return __lgamma_r(x, &__signgam); }