Lines Matching +full:2 +full:p5
25 * 2. Approximation of exp(r) by a special rational function on
28 * R(r**2) = r*(exp(r)+1)/(exp(r)-1) = 2 + r*r/6 - r**4/360 + ...
31 * of this polynomial approximation is bounded by 2**-59. In
33 * R(z) ~ 2.0 + P1*z + P2*z**2 + P3*z**3 + P4*z**4 + P5*z**5
34 * (where z=r*r, and the values of P1 to P5 are listed below)
37 * | 2.0+P1*z+...+P5*z - R(z) | <= 2
40 * 2*r
45 * 2 - R1(r)
47 * 2 4 10
48 * R1(r) = r - (P1*r + P2*r + ... + P5*r ).
52 * exp(x) = 2^k * exp(r)
82 halF[2] = {0.5,-0.5,},
85 ln2HI[2] ={ 6.93147180369123816490e-01, /* 0x3fe62e42, 0xfee00000 */
87 ln2LO[2] ={ 1.90821492927058770002e-10, /* 0x3dea39ef, 0x35793c76 */
94 P5 = 4.13813679705723846039e-08; /* 0x3E663769, 0x72BEA4D0 */ variable
98 twom1000= 9.33263618503218878990e-302; /* 2**-1000=0x01700000,0*/
136 else if(hx < 0x3e300000) { /* when |x|<2**-28 */ in exp()
147 c = x - t*(P1+t*(P2+t*(P3+t*(P4+t*P5)))); in exp()