26 static const double huge = 1.0e300;
28 static double huge = 1.0e300;
42 j0 = ((i0>>20)&0x7ff)-0x3ff;
46 if(i0<0) {i0=0x80000000;i1=0;}
47 else if((i0|i1)!=0) { i0=0x3ff00000;i1=0;}
51 if(((i0&i)|i1)==0)
return x;
53 if(i0>0) i0 += (0x00100000)>>j0;
58 if(j0==0x400)
return x+x;
61 i = ((unsigned)(0xffffffff))>>(j0-20);
62 if((i1&i)==0)
return x;
67 j = i1 + (1<<(52-
j0));