29 #ifdef POK_NEEDS_LIBMATH
38 #include "math_private.h"
44 return __ieee754_lgamma_r(x,&signgam);
47 y = __ieee754_lgamma_r(x,&signgam);
48 if(_LIB_VERSION == _IEEE_)
return y;
49 if(!finite(y)&&finite(x)) {
50 if(floor(x)==x&&x<=0.0)
51 return __kernel_standard(x,x,41);
53 return __kernel_standard(x,x,40);