38 static const double atanhi[] = {
40 static double atanhi[] = {
42 4.63647609000806093515e-01,
43 7.85398163397448278999e-01,
44 9.82793723247329054082e-01,
45 1.57079632679489655800e+00,
49 static const double atanlo[] = {
51 static double atanlo[] = {
53 2.26987774529616870924e-17,
54 3.06161699786838301793e-17,
55 1.39033110312309984516e-17,
56 6.12323399573676603587e-17,
60 static const double aT[] = {
62 static double aT[] = {
64 3.33333333333329318027e-01,
65 -1.99999999998764832476e-01,
66 1.42857142725034663711e-01,
67 -1.11111104054623557880e-01,
68 9.09088713343650656196e-02,
69 -7.69187620504482999495e-02,
70 6.66107313738753120669e-02,
71 -5.83357013379057348645e-02,
72 4.97687799461593236017e-02,
73 -3.65315727442169155270e-02,
74 1.62858201153657823623e-02,
99 (ix==0x7ff00000&&(
__LO(x)!=0)))
101 if(hx>0)
return atanhi[3]+atanlo[3];
102 else return -atanhi[3]-atanlo[3];
103 }
if (ix < 0x3fdc0000) {
104 if (ix < 0x3e200000) {
105 if(huge+x>one)
return x;
110 if (ix < 0x3ff30000) {
111 if (ix < 0x3fe60000) {
112 id = 0; x = (2.0*x-
one)/(2.0+x);
114 id = 1; x = (x-
one)/(x+one);
117 if (ix < 0x40038000) {
118 id = 2; x = (x-1.5)/(one+1.5*x);
127 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10])))));
128 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9]))));
129 if (
id<0)
return x - x*(s1+s2);
131 z = atanhi[id] - ((x*(s1+s2) - atanlo[
id]) - x);