Page 1 of 1

Posted: 20 Nov 2013, 22:14
by sephult
I have a FastScript and I am playing around working on geometric figures...and I am having issues with sin/cos.

I am thinking this possibly has to do with floating point values, but I am completely unsure.

I am basically just doing a comparison with windows calculator and hollyhock seeing the results they seem way off.

Any advice, or similar issues?

Posted: 21 Nov 2013, 12:12
by ynohtna
Are your values in degrees or radians? Sin and Cos expect the inputs to be in radians (i.e. where 2π is a full rotation).

Posted: 21 Nov 2013, 12:39
by sephult
aha, that might make life simpler. I was wondering why when I went the full 360 (also things went wacko past 180) the associated values did not seem to hold their meaning as tight. I figured the differences between sin and cos was because the float, but even when trying to make an association of the value with it's counterpart I had issue. Thank you soo much ynohtna!