Warning about small coefficient from implementpoly (from gforge #21678)
Imported issue: Initially reported by Book Moons in https://gforge.inria.fr/tracker/?group_id=1015&aid=21678
In trying to produce a polynomial implementation, I'm getting this warning message:
Warning: a coefficient is not at least 2 times greater than a already evaluated sub-polynomial.
This procedure is not able to implement the polynomial correctly in this case.
This seems important but I'm not sure what to do to solve it. Is there someone who can point me in the right direction? I'm working toward an implementation of log2(x). This sequence of commands reproduces:
f=log2(x);
p=remez(f,3,[1;2],default,1b-20);
implementpoly(p,[1;2],1b-20,D,""log2"",""log2.c"");