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,b1850e397df49d95 X-Google-Attributes: gid103376,public From: rouillard@acm.org (Jacques Rouillard) Subject: Re: How to convert an Fixed_Point to to an Integer ? Date: 1996/12/30 Message-ID: #1/1 X-Deja-AN: 206756584 references: <01bbf058$cbdbf980$LocalHost@jerryware> <1996Dec23.072835.1@eisner> <01bbf179$0c4361e0$9b2d5c8b@jerryware> <01bbf24c$a8db4800$b72d5c8b@jerryware> <32C2A408.53B8@watson.ibm.com> <32C78CD9.3AC9@mcs.com> <2safqwb3jc.fsf@hpodid2.eurocontrol.fr> organization: ESIM/EII-ISMEA newsgroups: comp.lang.ada Date: 1996-12-30T00:00:00+00:00 List-Id: In article <2safqwb3jc.fsf@hpodid2.eurocontrol.fr>, Steve Jones - JON wrote: > Each century is not a leap year (eg 1900 wasn't) but Millenia ARE leap years > so 2000 will be one. This has nicely made writting calendar progs a little > simpler as you don't have to do a /100 check for a limited span product > (eg 1970 -> 2099). I'd guess he stops at 2099 for just that reason. The check > is quite simple but why add code when a comment suffices ? Not only millenia but all centuries multiple of 400. 2000 will be the second time it happens since the 1582 reform. Yours, Jacques -- Jacques Rouillard t33(0)491054342 f33(0)491700659 e rouillard@acm.org USA http://vhdl.org/~rouillard EU http://ismea.imt-mrs.fr/~rouillar --------------------------------------------------------------------- VOUS POUVEZ MAINTENANT PASSER SANS DANGER AU MESSAGE SUIVANT