From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cfd23c10fd537a80 X-Google-Attributes: gid103376,public From: Al Christians Subject: Re: Ada Calendar oddity Date: 2000/05/11 Message-ID: <391BAB63.A98AD2ED@easystreet.com>#1/1 X-Deja-AN: 622446620 Content-Transfer-Encoding: 7bit References: <39176D85.603D7AEC@research.canon.com.au> <39178DEA.FD2C20FA@research.canon.com.au> <8f92o1$6v$1@nnrp1.deja.com> <3918BB77.693C70D6@research.canon.com.au> <8fahfv$mgt$1@nnrp1.deja.com> <3919CC94.538DDBA0@online.no> <391AB866.23686FFB@acenet.com.au> <391AD9DE.778D13EB@maths.unine.ch> <391B601C.D0B64CD8@acenet.com.au> <391B9E06.B382AF1B@maths.unine.ch> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com Organization: Trillium Resources Corporation MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-11T00:00:00+00:00 List-Id: I note that your posting shows up on my browser with the date using 25 bytes in the header. If the internet can use such inefficient formats, there is not much excuse for serious programmers sacrificing range and scale by shaving bits. For example, using only 16 bytes, eg 128 bits, eg representing seconds with 64 bits to the left of the binary point and 64 to the right, I think we get a range about a thousand times the age of the universe and a precision shorter than the time it takes anything to happen, except that if I've made a mistake here, someone will take less than 2^(-64) seconds to point it out. Not many applications would need more range or scale than that, would they? Al Gautier wrote: > > > I'm also from the opinion that the range for years in Ada.Calendar > is really too narrow - hence the smiley... Maybe widen this range > for Ada 0X ?... >