I'd rather not. For the multiplication, it doesn't take long to finish the loop. For the addition, I'd rather not sleep for 1677721.6 seconds(calling sleep(1) 16777216 times). It only takes a moment of processor-intensive looping, and then the result is clearly shown.
Is there a reason why one's able to go much higher than the other?
This is just how large numbers work on computers. There is only so much data you can store within a given number of bits, so when it goes too large it drops information. After 2,147,483,648; a difference of one is no longer significant enough of a change to record. It's like recording an extra grain of sand on the beach. If you double the size of the beach however, that's a notable change.
This is the same reason that world.realtime is only accurate to within about 6 seconds, so we had to add world.timeofday to get tick accurate time. An individual tick isn't big enough to make a difference to a value as large as realtime.
This is the same reason that world.realtime is only accurate to within about 6 seconds, so we had to add world.timeofday to get tick accurate time. An individual tick isn't big enough to make a difference to a value as large as realtime.
Actually, it's now accurate to only every 26 seconds (really 25.6, or 256/10). At 17:38:50 BST on August 10, 2013, we'll lose another bit and drop to 51.2-second accuracy. BYOND 4.0 will be just around the corner then.
So I take it that this, plus the rumours mentioned in [link] (and earlier than that - that was just the earliest reference I could find), means that BYOND development is actually going backwards; from "just around the corner" in 2003 to "not yet just around the corner" in 2013.
This is the same reason that world.realtime is only accurate to within about 6 seconds, so we had to add world.timeofday to get tick accurate time. An individual tick isn't big enough to make a difference to a value as large as realtime.
world.timeofday is accurate to 10 ticks, not 1 tick. =)
It seems that different operations yield different limits. For example, numbers can't increment as highly as they can be multiplied:
Outputs:
Multiplication extends upwards of 4294967296 + 2147483648
Addition stops at: 16777216
Hiead