AnsweredAssumed Answered

Efficient way to implement trigonometry functions?

Question asked by Pabouctsidis.Alex on Feb 2, 2013
Latest reply on Feb 3, 2013 by Pabouctsidis.Alex

I'm working on the STM32F4, and in my application i need to use atan2 and exp a very large number of times.

In my initial implementation i used the stlib for atan2 and exp. Unfortunately, in the current state my algorithm is too slow to run at the required frequency.

Does anyone have a reference to how these functions are implemented (I'm using GCC 4.7).
Also, does anyone know of a more efficient method to implement these functions? (Taylor series, etc)