sinf() grossly inaccurate?!
Hi. I was just trying to put together some camera rotation code and was using sinf() for some calculations. After getting some strange results, I stepped through the code and checked the value being returned by sinf() for 45 degrees. It is giving me 0.850904 for 45 degrees!? It''s supposed to be .7071 isn''t it?
I''m guessing this is a bug, and it may even be a known bug but wow!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement