Quote:
|
Originally Posted by Matt Leese
Maybe there can be an implementation of a fixed-point set of basic trig functions that can be used. I know there are fixed-point approximations for some trig fucntions that work fairly well and don't require a large lookup table.
Matt
|
I've written some code that that will do fixed-point sin() and cos() using an EEPROM look-up table. One piece of code is executed once to create the table, another body of code is used to do fast look-up. Once I write the documentation, I'll release to code for folks to try out.
-Kevin