44 one= 1.00000000000000000000e+00,
45 pi = 3.14159265358979311600e+00,
46 pio2_hi = 1.57079632679489655800e+00,
47 pio2_lo = 6.12323399573676603587e-17,
48 pS0 = 1.66666666666666657415e-01,
49 pS1 = -3.25565818622400915405e-01,
50 pS2 = 2.01212532134862925881e-01,
51 pS3 = -4.00555345006794114027e-02,
52 pS4 = 7.91534994289814532176e-04,
53 pS5 = 3.47933107596021167570e-05,
54 qS1 = -2.40339491173441421878e+00,
55 qS2 = 2.02094576023350569471e+00,
56 qS3 = -6.88283971605453293030e-01,
57 qS4 = 7.70381505559019352791e-02;
62 double z,p,q,r,w,s,
c,df;
69 if(((ix-0x3ff00000)|lx)==0) {
71 else return pi+2.0*pio2_lo;
76 if(ix<=0x3c600000)
return pio2_hi+pio2_lo;
78 p = z*(pS0+z*(pS1+z*(pS2+z*(pS3+z*(pS4+z*pS5)))));
79 q =
one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
81 return pio2_hi - (x - (pio2_lo-x*r));
84 p = z*(pS0+z*(pS1+z*(pS2+z*(pS3+z*(pS4+z*pS5)))));
85 q =
one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
89 return pi - 2.0*(s+w);
96 p = z*(pS0+z*(pS1+z*(pS2+z*(pS3+z*(pS4+z*pS5)))));
97 q =
one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
104 #if LDBL_MANT_DIG == 53 106 __weak_alias(acosl,
acos);
#define GET_HIGH_WORD(i, d)
#define SET_LOW_WORD(d, v)
#define GET_LOW_WORD(i, d)