[squeak-dev] Some DateAndTime experiments

Eliot Miranda eliot.miranda at gmail.com
Sat Apr 19 18:53:07 UTC 2014


On Sat, Apr 19, 2014 at 11:50 AM, David T. Lewis <lewis at mail.msen.com>wrote:

> 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 ;-)
>

Upload your consciousness today ;-)

e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140419/bb658508/attachment.htm


More information about the Squeak-dev mailing list