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,7a434e753b9dd044 X-Google-Attributes: gid103376,public From: radke@cpre1.ee.iastate.edu (Kevin Radke) Subject: Re: Time_Span divide question Date: 1997/05/21 Message-ID: <5ltl4u$ogu$1@news.iastate.edu>#1/1 X-Deja-AN: 242713711 References: <337C5D12.6230@gsfc.nasa.gov> Organization: Iowa State University, Ames, IA USA Newsgroups: comp.lang.ada Date: 1997-05-21T00:00:00+00:00 List-Id: In article , Robert Dewar wrote: >Tuck says > ><<: Duration divide result: 0 > >That seems wrong. Unless the 'small for Duration is extremely large (i.e. >>= 1.0), D1/D2 should be just slightly less than 1 as a universal_fixed >value (the result of fixed-fixed division), and when converted to Integer, >it should be rounded (per RM95 4.6(33)).>> > >That's definitely wrong. Using the latest version of GNAT on the program, >the output is: > >Duration divide result: 1 > Int_64 (TS1) => 495000000 > Int_64 (TS2) => 500000000 >Time_Span divide result: 0 Hmmm... 3.07 on NT was definitely broken then since it gave 0. Kevin