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: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: How to convert an Fixed_Point to to an Integer ? Date: 1996/12/24 Message-ID: #1/1 X-Deja-AN: 205860017 references: <01bbf058$cbdbf980$LocalHost@jerryware> <1996Dec23.072835.1@eisner> <01bbf179$0c4361e0$9b2d5c8b@jerryware> <32C02A1E.6268@watson.ibm.com> organization: New York University newsgroups: comp.lang.ada Date: 1996-12-24T00:00:00+00:00 List-Id: "Well, it was completely portable on New Year's Day in 1970, but hasn't been since then, since Calendar.Clock - Epoch_Time is of type Duration, whose range is allowed to be as small as -86_400.0 .. 86_400.0, i.e. plus or minus one day (RM 9.6(27))." True enough, of course in all GNAT compilers, Duration has a vrey large range (it is 64 bit signed in units of nanoseconds). I wonder whether there really will be Ada 95 compilers with narrow ranges .... So a truly portable solution would have to use a loop ...