comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dale@goanna.cs.rmit.edu.au>
Subject: Re: Calling C time function from ADA-95
Date: 1998/06/08
Date: 1998-06-08T00:00:00+00:00	[thread overview]
Message-ID: <6lhnan$1vi$1@goanna.cs.rmit.edu.au> (raw)
In-Reply-To: 357C141E.D868661F@earthling.net


Charles Hixson  writes:

"Well, since you asked, the year type of Calendar has a **much** too
 restricted range.  Saving space by restricting the size of the year that
 way reminds me of all of the programs that stored only two digits for
 their year in the '60s, and now their descendants are delighting
 everyone."


I always thought the range was chosen to allow for fast leap year 
calculations (year mod 4, excluding the more expensive mod 100/mod 400)
rather than to save space. Does anyone have any better knowledge?

Dale




  reply	other threads:[~1998-06-08  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-07  0:00 Calling C time function from ADA-95 Faust!
1998-06-06  0:00 ` Matthew Heaney
1998-06-08  0:00   ` Charles Hixson
1998-06-08  0:00     ` Dale Stanbrough [this message]
1998-06-08  0:00       ` Larry Kilgallen
1998-06-09  0:00       ` Markus Kuhn
1998-06-09  0:00         ` Charles Hixson
1998-06-09  0:00           ` Markus Kuhn
1998-06-09  0:00             ` Charles Hixson
1998-06-12  0:00               ` Larry Kilgallen
1998-06-07  0:00 ` Markus Kuhn
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox