Originally Posted by

**Adak**
I don't have that compiler, so I can't say if it's a compiler problem.

I'm not that familiar with radian to degree conversion, but in checking it out, I see equations like this:

But when I look at the math in your function, I see "happy feet" type math. :) Lots of dancing around, including a "fudge" factor, "just because...".

:D

If you google "degree to radian", you'll get a whole page of hits. I'd recommend using another algorithm for the conversion, entirely. One with real clarity and definitely no "fudge factors".

Good luck.