Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yet is has trig? Come on.


It doesn't have trig. The algorithm just requires 32 precomputed trig results that are stored in a lookup table.


Indeed, 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


Very sweet!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: