MILLISEC overflows to a negative number after about 26 days.Interresting.
MILLISEC overflow
Root / SmileBASIC Bug Reports / [.]
12Me21Created:
MILLISEC is a 32 bit signed integer, so it overflows to a negative number after about 26 days (2147483647/1000/60/60/24 days). (This includes time spent in sleep mode)
We predicted this would happen a long time ago, but I've never seen it until now. It actually broke some my code, because I assumed MILLISEC would always be greater than 0.
The same thing can happen to MAINCNT, but it would take over a year (not including time spend in sleep mode, since MAINCNT doesn't increase then).
I know somebody who never turns their 3ds off and just leaves it in sleep mode all the time... drives me insaneWouldn't that damage the 3DS's battery? (I think that they more likely charge it while in sleep mode.)
Well, when's the last time you turned your phone off?I don't have one and even then I turn it off weekly.
what?Well, when's the last time you turned your phone off?I don't have one and even then I turn it off weekly.
Sounds stange but it is. I turn it off every weekend because then I don't need it.what?Well, when's the last time you turned your phone off?I don't have one and even then I turn it off weekly.
But how can you turn your phone off if you don't have one?I reference this to my tablet essentially running the same OS as phones and its components are also very similar to normal phones. So literally I could say I have a phone which I can´t use as one due to it´s size.
The same thing happens in Minecraft if a world lasts long enough