32 #ifdef POK_NEEDS_LIBMATH
39 #include "math_private.h"
42 gammaf_r(
float x,
int *signgamp)
45 return __ieee754_lgammaf_r(x,signgamp);
48 y = __ieee754_lgammaf_r(x,signgamp);
49 if(_LIB_VERSION == _IEEE_)
return y;
50 if(!finitef(y)&&finitef(x)) {
51 if(floorf(x)==x&&x<=(
float)0.0)
53 return (
float)__kernel_standard((
double)x,(
double)x,141);
56 return (
float)__kernel_standard((
double)x,(
double)x,140);