Quote:
|
Originally Posted by Zalumaskov
I'm using the Cordic trig functions but I get weird values...
sin(0) and cos(0) both give me -4, you see my problem; what am I doing wrong?
|
How are you checking the return values? It could be something as simple as trying to printf a non-int using the %d format specifier, giving a bad answer onscreen while the value is perfectly fine.