24 ms·
It doesn't have trig. The algorithm just requires 32 precomputed trig results that are stored in a lookup table.
by Khoth 8y ago
It doesn't have trig. The algorithm just requires 32 precomputed trig results that are stored in a lookup table.
- markrages 8y agoIndeed, I have used CORDIC for rectangular-to-polar on a little micro without multiply (and power-constrained by a coin cell). I made a code-generator for this, see https://github.com/markrages/cordic_polar https://github.com/markrages/cordic_polar
- JoeAltmaier 8y agoVery sweet!