comp.lang.ada
 help / color / mirror / Atom feed
From: radke@cpre1.ee.iastate.edu (Kevin Radke)
Subject: Re: Time_Span divide question
Date: 1997/05/21
Date: 1997-05-21T00:00:00+00:00	[thread overview]
Message-ID: <5ltl4u$ogu$1@news.iastate.edu> (raw)
In-Reply-To: dewar.864099351@merv


In article <dewar.864099351@merv>, Robert Dewar <dewar@merv.cs.nyu.edu> 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





  reply	other threads:[~1997-05-21  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5lg555$rba3@castor.cca.rockwell.com>
1997-05-15  0:00 ` Time_Span divide question Mark D. McKinney
1997-05-16  0:00   ` Robert A Duff
1997-05-16  0:00   ` Stephen Leake
1997-05-19  0:00     ` Tucker Taft
1997-05-19  0:00       ` Robert Dewar
1997-05-21  0:00         ` Kevin Radke [this message]
1997-05-25  0:00           ` Robert Dewar
1997-05-27  0:00             ` Kevin Radke
1997-05-16  0:00 ` Tucker Taft
1997-05-19  0:00   ` Wayne
replies disabled

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