This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-02-08 18:10:35

lalala3
Scratcher
Registered: 2008-10-03
Posts: 100+

Scratch sine function error

Scratch appears to be under the impression that sin(180)=1.2246...e-16. Not that it's vital to any program I'm making, but it should still be fixed.

Last edited by lalala3 (2013-02-08 18:11:39)


http://img515.imageshack.us/img515/9374/signature2nt.png

Offline

 

#2 2013-02-08 21:27:26

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Scratch sine function error

that is so close to 0 that it's negligible. i know there was another topic where it was explained, but i don't remember. but i think it was determined its the fault of the language squeak, not a bug in scratch itself.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#3 2013-02-09 01:04:37

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Scratch sine function error

Wes64 wrote:

that is so close to 0 that it's negligible. i know there was another topic where it was explained, but i don't remember. but i think it was determined its the fault of the language squeak, not a bug in scratch itself.

This occurs in the beta, however.


Posts: 20000 - Show all posts

Offline

 

#4 2013-02-09 03:46:55

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch sine function error

I think it's because of radians and "stuff".

EDIT: http://scratch.mit.edu/forums/viewtopic … 94#p629794

Last edited by TRocket (2013-02-09 03:54:23)


http://i.imgur.com/1QqnHxQ.png

Offline

 

Board footer