[squeak-dev] Some DateAndTime experiments

David T. Lewis lewis at mail.msen.com
Sat Apr 19 18:50:37 UTC 2014


On Sat, Apr 19, 2014 at 11:44:34AM -0700, Eliot Miranda wrote:
> On Sat, Apr 19, 2014 at 9:10 AM, Nicolas Cellier <
> nicolas.cellier.aka.nice at gmail.com> wrote:
> 
> > A 64 bits Spur should also scale our SmallIntegers up to 2^62, which can
> > completely change the figures anyway.
> 
> Likely 2^60.  3 bits for tags, 1 bit for sign, hence SmallInteger maxVal =
> (2^60) - 1 , which is 36,000 years into the future :-)
> 
> DateAndTime fromSeconds: (1 << 60) - 1 // 1000000 38435-08-17T21:30:06-07:00

Ha! Reminds me of the guy who thought 640k was going to be enough ;-)

Dave



More information about the Squeak-dev mailing list