Mail Archives: djgpp/1997/03/26/05:27:03
Neil Stone wrote:
> As far as I know the 'C' sin, cos, tan functions return and accept there
> parameters in radians rather than degrees.
Correct. This is true of most programming languages, actually.
> I know there is a
> simple formular to convert radians to degrees and vice-versa but I don't
> know it (I don't use the sin, cos, etc functions that much), sorry. Does
> anybody know it, I sure some one does, I might need it myself at some
> point.
There are pi rad in 180 deg, so to convert deg to rad, multiply by pi/180.
--
Erik Max Francis, &tSftDotIotE / email: max AT alcyone DOT com
Alcyone Systems / web: http://www.alcyone.com/max/
San Jose, California, United States / icbm: 37 20 07 N 121 53 38 W
\
"I am become death, / destroyer of worlds."
/ J. Robert Oppenheimer (quoting legend)
- Raw text -