Lines Matching +full:0 +full:deg
6 deg = 11; // poly degree
7 // |log2(1+x)| > 0x1p-4 outside the interval
8 a = -0x1.5b51p-5;
9 b = 0x1.6ab2p-5;
11 ln2 = evaluate(log(2),0);
12 invln2hi = double(1/ln2 + 0x1p21) - 0x1p21; // round away last 21 bits
17 deg = deg-1; // because of /x
20 f = 0;
21 for i from 0 to 60 do { f = f + (-x)^i/(i+1); };
26 return remez(1 - poly(x)/f(x), deg-d, [a;b], x^d/f(x), 1e-10);
31 for i from 1 to deg do {
33 poly = poly + x^i*coeff(p,0);
42 for i from 0 to deg do coeff(poly,i);