22 static const double one = 1.0,
Zero[] = {0.0, -0.0,};
37 if((hy|ly)==0||(hx>=0x7ff00000)||
38 ((hy|((ly|-ly)>>31))>0x7ff00000))
41 if((hx<hy)||(lx<ly))
return x;
49 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1;
51 for (ix = -1022,i=(hx<<11); i>0; i<<=1) ix -=1;
53 }
else ix = (hx>>20)-1023;
58 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1;
60 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1;
62 }
else iy = (hy>>20)-1023;
66 hx = 0x00100000|(0x000fffff&hx);
70 hx = (hx<<n)|(lx>>(32-n));
78 hy = 0x00100000|(0x000fffff&hy);
82 hy = (hy<<n)|(ly>>(32-n));
93 hz=hx-hy;lz=lx-ly;
if(lx<ly) hz -= 1;
94 if(hz<0){hx = hx+hx+(lx>>31); lx = lx+lx;}
98 hx = hz+hz+(lz>>31); lx = lz+lz;
101 hz=hx-hy;lz=lx-ly;
if(lx<ly) hz -= 1;
102 if(hz>=0) {hx=hz;lx=lz;}
107 while(hx<0x00100000) {
108 hx = hx+hx+(lx>>31); lx = lx+lx;
112 hx = ((hx-0x00100000)|((iy+1023)<<20));
120 lx = (hx<<(32-n))|(lx>>n); hx = sx;
122 lx = hx>>(n-32); hx = sx;
#define EXTRACT_WORDS(ix0, ix1, d)
#define INSERT_WORDS(d, ix0, ix1)
double fmod(double x, double y)