|
Re: Problem With Math.h
One other thing - if you look at the CORDIC implementation in the white papers, you can actually improve its performance twofold if you need both the sin() and cos() of an angle.
It actually calculates both simultaneously, but in the current design it discards whichever you don't need. Pass arguments by pointers into the function and you can get both at once.
|