Jump to content

I am now officially part of the club


Recommended Posts

44 minutes ago, ChintzyGnat said:

1 mil club when

At the current moment, thats technically impossible to reach. The day counter is coded in a 16 bit integer, which caps off at Day 65,536. If you try to surpass this number, the day counter will overflow and reset back to day 1.

6 hours ago, Maxil20 said:

At the current moment, thats technically impossible to reach. The day counter is coded in a 16 bit integer, which caps off at Day 65,536. If you try to surpass this number, the day counter will overflow and reset back to day 1.

Huh? It's 2^16? That's weird... Isn't it usually 2^16-1? I remember usually seeing 2^16-1 as the cap for those things, though I'm honestly not sure why.

I guess it's because 0 is often a potential number, so you need to take 1 away from the cap? And in DST you can't have 0 days, so you can last up to 2^16 days instead of 2^16-1 days?

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...