32 #ifdef POK_NEEDS_LIBMATH
35 #include "math_private.h"
37 static const float one = 1.0;
40 modff(
float x,
float *iptr)
45 jj0 = ((i0>>23)&0xff)-0x7f;
48 SET_FLOAT_WORD(*iptr,i0&0x80000000);
51 i = (0x007fffff)>>jj0;
56 SET_FLOAT_WORD(x,ix&0x80000000);
59 SET_FLOAT_WORD(*iptr,i0&(~i));
67 SET_FLOAT_WORD(x,ix&0x80000000);