Hi Alex,

the results of the functions below do not reflect the common outcomes in
math AFAICT.

But maybe you had other intentions?

E.G.:

: (deg2rad 90)
-> 2

Result 2 where I expected something like 1.5707963268.

Any ideas?

/Arie
Doing Trigonometry in Degrees, not Radians

#-----------------------------(load "@lib/math.l")
(de deg2rad (Deg)
   (*/ Deg pi 180.0) )
(de rad2deg (Rad)
   (*/ Rad 180.0 pi) )#-----------------------------

Reply via email to