17 ln2 = 0.6931471805599452862268,
18 two54 = 1.80143985094819840000e+16,
19 Lg1 = 6.666666666666735130e-01,
20 Lg2 = 3.999999999940941908e-01,
21 Lg3 = 2.857142874366239149e-01,
22 Lg4 = 2.222219843214978396e-01,
23 Lg5 = 1.818357216161805012e-01,
24 Lg6 = 1.531383769920937332e-01,
25 Lg7 = 1.479819860511658591e-01;
27 static const double zero = 0.0;
32 double hfsq,f,s,z,R,w,t1,t2,dk;
39 if (hx < 0x00100000) {
40 if (((hx&0x7fffffff)|lx)==0)
42 if (hx<0)
return (x-x)/zero;
46 if (hx >= 0x7ff00000)
return x+x;
49 i = (hx+0x95f64)&0x100000;
54 if((0x000fffff&(2+hx))<3) {
57 R = f*f*(0.5-0.33333333333333333*f);
58 return (dk-(R-f)/ln2);
65 t1= w*(Lg2+w*(Lg4+w*Lg6));
66 t2= z*(Lg1+w*(Lg3+w*(Lg5+w*Lg7)));
71 return (dk-(hfsq-s*(hfsq+R)-f)/ln2);
73 return (dk-((s*(f-R))-f)/ln2);
#define GET_HIGH_WORD(i, d)
#define SET_HIGH_WORD(d, v)
#define EXTRACT_WORDS(ix0, ix1, d)