[_] Maths foolishness
Edward Ross
underscore at rosstech.biz
Tue Apr 1 15:10:44 BST 2008
I don't know flash - but the reason you are getting cos45 = 0.52 is because the input units are set to radians not degrees. If you do cos(Pi/4) you will get the 0.71 you are expecting. Regards, Ed. s'unya wrote: > Ar'noon, > > I am having Math foolery in flash; for some reason to flash cos45 = > 0.52532198881773 instead of 0.70710678118654752440084436210485 and tan45 = > 1.6... instead of just 1. I haven't even the foggiest what might cause such > discrepancies. Anybody? >