Alex Rivera | Logout

Trigonometric functions on embedded system

Asked 2009-10-15T10:23:25.353
13

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?

Edit
Report

2 Answers

2

See the Stack Overflow question How do Trigonometric functions work? The accepted answer there explains some details of how to do range reduction, then use CORDIC, then do some further optimizations.

answered 2009-10-15T11:57:25.553
1

This may be of some help / inspiration: Magical square root in Quake III

answered 2012-06-22T18:26:14.320

Your Answer