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
It also happened with a bunch of bricks, like the addition block and stuff.
Offline
it worked in multiplacition and division blocks as well. That could throw it off.
Offline
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.
Offline
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
Offline
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
Offline
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
![]()
Thanks, Paddle2See.
Offline
golfer3 wrote:
nver had anything like that happen to me
![]()
Do you have Scratch 1.4? Also, You have to do EXACTLY 1.89!
Offline
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.
Offline
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
The same thing happens for 3.14159265.
Offline
aweman wrote:
I don't want it to wait the extra .00000000000001 of a second!
It should be .0000000000000001 of a second.
Offline
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!
Offline
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.
My site Offline
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.
Offline
Wow... That Is A Wierd Glitch. It Doesn't Work With Any Other Numbers...
Offline