Revision 1585
Cut the trig table sizes in 4 w/ symmetry, etc.
Lazy implementations of sine and tangent (that just
use cosine indirectly).
Addressed edge cases.
Needs EXTENSIVE testing to get a good grip on error bounds.
fp_math.h  

3  3 
#define _FP_MATH_H_ 
4  4  
5  5 
#define FP_PI 205887 
6 
#define FP_TWO_PI 411775 

7  6  
8  7 
#include <stdint.h> 
9  8 
Also available in: Unified diff