Olin Lathrop wrote: > ... It depends on the temperature range and desired accuracy, but a third > order polynomial might be good enough. That's only 5 multiplies and 3 > adds. Add 2 multiplies and 1 add per polynomial order, so a 5th order > polynomial is 9 multiplies and 5 adds. A haven't worked it out, but I > rather suspect that a 5th order polynomial will be better than other > sources of error in the system. A simple transformation allows polynomials to be evaluated with one multiply and one add per order: A*x^3 + B*x^2 + C*x + D = (((A*x + B)*x + C)*x + D) -- Dave Tweed -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics