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

#1 2009-08-23 08:29:13

aweman
Scratcher
Registered: 2008-06-22
Posts: 100+

A glitch in 1.4?

I found a glitch in 1.4. I pulled up a "wait ____ secs" block. I wrote 1.89 in the white ovally thing. When I clicked on the script area, the number changed to 1.8900000000000001. Help! I don't want it to wait the extra .00000000000001 of a second!

Offline

 

#2 2009-08-23 09:05:09

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: A glitch in 1.4?

Not that a trillionth (If I'm thinking right) of a second would make that much of a diffrence, it's still a glitch. I don't think any glitches like that have ever happened to me before.

Offline

 

#3 2009-08-24 14:00:38

WeirdF
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: A glitch in 1.4?

Well, I don't suppose it would be very high on the Scratch Teams list of bugs to fix. One ten trillionth is not going to make a difference.


http://i.cr3ation.co.uk/dl/s1/gif/847032b8a331def77529b6a0384db1fe_handfingers.gif

Offline

 

#4 2009-08-25 18:21:25

aweman
Scratcher
Registered: 2008-06-22
Posts: 100+

Re: A glitch in 1.4?

It also happened with a bunch of bricks, like the addition block and stuff.

Offline

 

#5 2009-08-26 03:40:46

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: A glitch in 1.4?

And in addition block, trillionth part _makes_ difference, if you need to be very precise.


Converting my Scratch projects to Python!

Offline

 

#6 2009-08-26 11:47:34

aweman
Scratcher
Registered: 2008-06-22
Posts: 100+

Re: A glitch in 1.4?

it worked in multiplacition and division blocks as well. That could throw it off.

Offline

 

#7 2009-08-26 13:08:11

WeirdF
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: A glitch in 1.4?

Wow, I suddenly realised, the only time it happens is with 1.89, all other numbers work perfectly. I'm gonna do some investigations and see if I can find a way around this.


http://i.cr3ation.co.uk/dl/s1/gif/847032b8a331def77529b6a0384db1fe_handfingers.gif

Offline

 

#8 2009-08-26 13:09:11

WeirdF
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: A glitch in 1.4?

Okay, I got it. Make a variable, and set it to 1.89. Then do this:
<wait( <{ 1.89 }> )secsc>


http://i.cr3ation.co.uk/dl/s1/gif/847032b8a331def77529b6a0384db1fe_handfingers.gif

Offline

 

#9 2009-08-26 13:52:10

TinyWanda
Scratcher
Registered: 2009-05-26
Posts: 35

Re: A glitch in 1.4?

i've seen this sort of thing before, and it takes many other forms.
There is something wrong with The Way Scratch does Simple Math Functions.
These Weird Numbers are often invisible until you try to use a boolean function on them, and numbers that should be equal, aren't.
This is a problem with even the best scientific programmable calculators, When you are working with numbers that extend to the limits of The Calculator's precision;
But Scratch often changes Small, Nearly Whole Numbers in very odd ways...
Then; The only way to check them is to put all the numbers on a list, and examine the list. When the numbers are displayed on the Variables Blocks in The Display Window, They are usually Rounded Off, and look the way they are supposed too...! But in the Lists, they are apparently recorded in their full precision.


Visit The Source Material...
http://transamoebae.blogspot.com/

Offline

 

#10 2009-08-27 15:28:20

golfer3
Scratcher
Registered: 2008-11-02
Posts: 1000+

Re: A glitch in 1.4?

aweman wrote:

I found a glitch in 1.4. I pulled up a "wait ____ secs" block. I wrote 1.89 in the white ovally thing. When I clicked on the script area, the number changed to 1.8900000000000001. Help! I don't want it to wait the extra .00000000000001 of a second!

nver had anything like that happen to me  hmm

Offline

 

#11 2009-08-28 20:59:08

Reamm
Scratcher
Registered: 2007-11-10
Posts: 100+

Re: A glitch in 1.4?

Same thing happen to me! I tried it again and it still works.

Offline

 

#12 2009-08-29 03:55:23

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: A glitch in 1.4?

aweman wrote:

I found a glitch in 1.4. I pulled up a "wait ____ secs" block. I wrote 1.89 in the white ovally thing. When I clicked on the script area, the number changed to 1.8900000000000001. Help! I don't want it to wait the extra .00000000000001 of a second!

Thanks aweman. I wrote up a bug report for the development team to take a look at it.  That's pretty weird  smile


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#13 2009-09-08 08:00:02

aweman
Scratcher
Registered: 2008-06-22
Posts: 100+

Re: A glitch in 1.4?

Paddle2See wrote:

aweman wrote:

I found a glitch in 1.4. I pulled up a "wait ____ secs" block. I wrote 1.89 in the white ovally thing. When I clicked on the script area, the number changed to 1.8900000000000001. Help! I don't want it to wait the extra .00000000000001 of a second!

Thanks aweman. I wrote up a bug report for the development team to take a look at it.  That's pretty weird  smile

Thanks, Paddle2See.

Offline

 

#14 2009-09-30 19:44:33

scratch_yoshi
Scratcher
Registered: 2009-06-12
Posts: 1000+

Re: A glitch in 1.4?

golfer3 wrote:

nver had anything like that happen to me  hmm

Do you have Scratch 1.4? Also, You have to do EXACTLY 1.89!


Retired from Scratch, but just the language itself. Not the forums.

Offline

 

#15 2009-10-02 21:27:04

floppy_gunk
Scratcher
Registered: 2008-11-14
Posts: 500+

Re: A glitch in 1.4?

WeirdF wrote:

Well, I don't suppose it would be very high on the Scratch Teams list of bugs to fix. One ten trillionth is not going to make a difference.

It's a ten quadrillionth, not a ten trillionth.


http://img163.imageshack.us/img163/1917/2856lg.jpg Get it now!  smile

Offline

 

#16 2009-10-07 14:51:02

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: A glitch in 1.4?

Really, our eyes nor the screen of our computers don't refresh ten quadrillion times a second, so it's not going to make any difference at all, and though I do see your point, I don't think it's much of an issue.

Last edited by coolstuff (2009-10-07 14:51:10)

Offline

 

#17 2009-10-17 22:22:14

ThePiGuy
Scratcher
Registered: 2009-08-27
Posts: 64

Re: A glitch in 1.4?

For me it gives me 1.6800000000000002, not 1.6800000000000001! This happens with EVERY block! It's weird!


PI IS AWESOME!! Yes, pi is not equal to 3.14. It's 3.1415926535897932384626433832795028841971693993751058...

Offline

 

#18 2009-10-30 11:05:45

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: A glitch in 1.4?

The same thing happens for 3.14159265.

Offline

 

#19 2009-10-30 11:08:57

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: A glitch in 1.4?

aweman wrote:

I don't want it to wait the extra .00000000000001 of a second!

It should be .0000000000000001 of a second.

Offline

 

#20 2009-11-28 08:53:50

scratch_yoshi
Scratcher
Registered: 2009-06-12
Posts: 1000+

Re: A glitch in 1.4?

WeirdF wrote:

Well, I don't suppose it would be very high on the Scratch Teams list of bugs to fix. One ten trillionth is not going to make a difference.

It can REALLY throw you off for multiplcation (*) or division (/). It is gonna make a difference!


Retired from Scratch, but just the language itself. Not the forums.

Offline

 

#21 2009-11-28 09:10:34

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: A glitch in 1.4?

scratch_yoshi wrote:

WeirdF wrote:

Well, I don't suppose it would be very high on the Scratch Teams list of bugs to fix. One ten trillionth is not going to make a difference.

It can REALLY throw you off for multiplcation (*) or division (/). It is gonna make a difference!

If it's really annoying you why don't you times it by 10000000 (that should be enough decimal places if your calculations go that far, add more if you need to). Then round it and divide by the same number.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#22 2009-12-26 20:56:49

Reamm
Scratcher
Registered: 2007-11-10
Posts: 100+

Re: A glitch in 1.4?

Does this glitch still work?

Offline

 

#23 2009-12-26 21:12:09

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: A glitch in 1.4?

Reamm wrote:

Does this glitch still work?

There's no 1.4.1 (unless you're on Linux, and it's more like 1.4.01), so it still happens.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#24 2010-01-30 09:08:56

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: A glitch in 1.4?

Wow... That Is A Wierd Glitch. It Doesn't Work With Any Other Numbers...

Offline

 

#25 2010-01-30 09:11:47

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: A glitch in 1.4?

Well, you could do 2 wait blocks  tongue

Offline

 

Board footer