Trigonometric functions on embedded system

Victor picture Victor · Oct 15, 2009 · Viewed 8.5k times · Source

sin and cos functions are slow and need a lot of resources to run on embedded systems. How does one calculate sin and cos functions in a more resource-saving and faster way?

Answer

pavium picture pavium · Oct 15, 2009

To calculate a Taylor or Fourier series is always going to be time-consuming.

In an embedded system, you should think about lookup tables.

There might also be interesting information on the 'Net about how Hewlett-Packard optimised such calculations in their early scientific calculators.

I recall seeing such stuff at the time