38 #ifdef POK_NEEDS_LIBMATH
40 #include "math_private.h"
42 static const double huge = 1.0e300;
49 EXTRACT_WORDS(i0,i1,x);
50 jj0 = ((i0>>20)&0x7ff)-0x3ff;
55 else if(((i0&0x7fffffff)|i1)!=0)
56 { i0=0xbff00000;i1=0;}
59 i = (0x000fffff)>>jj0;
60 if(((i0&i)|i1)==0)
return x;
62 if(i0<0) i0 += (0x00100000)>>jj0;
67 if(jj0==0x400)
return x+x;
70 i = ((uint32_t)(0xffffffff))>>(jj0-20);
71 if((i1&i)==0)
return x;
77 if(j<(uint32_t)i1) i0 +=1 ;
84 INSERT_WORDS(x,i0,i1);