Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » CS question
- undeterminstic
-
1000+ posts
CS question
in scratch what is the smallest positve integer where n = n+1 (due to floating point error or smth)
Last edited by undeterminstic (Feb. 1, 2024 18:15:43)
yes
- Za-Chary
-
1000+ posts
CS question
Just tested it, and it appears to be 9999999999999999 (sixteen nines).
This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
I was a Scratch Team member from May 10th 2019 to October 29th 2021. I reached 20,000 forum posts on June 24th 2024.
my notebook | scratch team essay | accessibility essay
- jvvg
-
1000+ posts
CS question
At least on my machine, 9007199254740992.
![](https://en.scratch-wiki.info/w/images/thumb/Wiki.png/100px-Wiki.png)
Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so bad — Why the April Fools' Day forum didn't work last year
- Za-Chary
-
1000+ posts
CS question
silly menope, 9999999999999995 also goes up. I believe in numbers above the threshold, all the non-divisible-by-2 numbers would be somewhat faulty (the one ending with 7 becomes 6) Just tested it, and it appears to be 9999999999999999 (sixteen nines).
This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
I was a Scratch Team member from May 10th 2019 to October 29th 2021. I reached 20,000 forum posts on June 24th 2024.
my notebook | scratch team essay | accessibility essay
- Discussion Forums
- » Questions about Scratch
-
» CS question