On Thursday, Nov 20, 2003, at 17:18 US/Pacific, Scott Dattalo wrote: > The error introduced by lookup tables for > computing the sine function is discussed here: > > http://www.dattalo.com/technical/theory/sinewave.html > Cool. Exactly what I was looking for, although I'm not sure how "frequency" manages to show up. Maybe I should dust off the math books and try to figure it out myself... So a linear interpolation table with only 8 values (6, really) gets you to within 1%, eh? And using your math, 9 values gets you to within 1/256. That's small enough that you start to wonder whether it takes more space to store a bigger table, or figure out which quadrant you're in. Pretty neat. Thanks Bill W -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.