Quote:
Originally Posted by otherguy
This would significantly cut down on the number of computations needed to return a result
|
Did you do an analysis to determine whether the piecewise linear code plus the conditional logic it requires executes faster than the single polynomial ?
If speed is what you need, it's hard to beat a complete lookup table (no interpolation required):
http://www.chiefdelphi.com/forums/sh...1&postcount=12