30 #ifdef POK_NEEDS_LIBMATH
39 #include "math_private.h"
45 return __ieee754_lgamma_r(x,&signgam);
48 y = __ieee754_lgamma_r(x,&signgam);
49 if(_LIB_VERSION == _IEEE_)
return y;
50 if(!finite(y)&&finite(x)) {
51 if(floor(x)==x&&x<=0.0)
52 return __kernel_standard(x,x,15);
54 return __kernel_standard(x,x,14);