the_undefined
16-02-2005, 01:32
Hey Guys,
I know that Trig functions on the Controller were discussed a lot and everybody is afraid of using floats and so on. But since I really need to use sin, cos, and atan in order to make our Program work I tried to figure out how to do that the best way.
I would really like to use Team 296's CORDIC Functions (http://www.chiefdelphi.com/forums/papers.php?s=&action=single&paperid=378) but I don't know how to work with 24 bit binary radians nor how to printf() these ...
What would be the easiest way for me to go and how do I Debug whatever you would suggest (if not int, char, or etc.) ...
Thanks for all Help
Felix
I know that Trig functions on the Controller were discussed a lot and everybody is afraid of using floats and so on. But since I really need to use sin, cos, and atan in order to make our Program work I tried to figure out how to do that the best way.
I would really like to use Team 296's CORDIC Functions (http://www.chiefdelphi.com/forums/papers.php?s=&action=single&paperid=378) but I don't know how to work with 24 bit binary radians nor how to printf() these ...
What would be the easiest way for me to go and how do I Debug whatever you would suggest (if not int, char, or etc.) ...
Thanks for all Help
Felix