Sine and Cosine
Posted: Mon Jun 04, 2018 8:19 pm
I have been struggling for hours trying to get this to work. Now I just don't know what to do anymore so maybe you guys can help me.
Math isn't my strongpoint, so little warning upfront.
[URL]https://prnt.sc/jqu042[/URL]
In the picture, I did sin(90). Even with low precision, I feel that a precision of 0.89 is pretty darn off. It should be 1 right?
For some reason, whenever I run the fsin or fcos instruction, it never seems to give me the right results.
Is there something I am missing in order to have the right values being displayed?
EDIT:
Apparently I had to do some division before I could get the right sine and cosine, not sure if it'll help anyone, but for me the value divided by '56' did the trick.
So this can be closed for all I know
Math isn't my strongpoint, so little warning upfront.
[URL]https://prnt.sc/jqu042[/URL]
In the picture, I did sin(90). Even with low precision, I feel that a precision of 0.89 is pretty darn off. It should be 1 right?
For some reason, whenever I run the fsin or fcos instruction, it never seems to give me the right results.
Is there something I am missing in order to have the right values being displayed?
EDIT:
Apparently I had to do some division before I could get the right sine and cosine, not sure if it'll help anyone, but for me the value divided by '56' did the trick.
So this can be closed for all I know