From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Time_Span divide question
Date: 1997/05/16
Date: 1997-05-16T00:00:00+00:00 [thread overview]
Message-ID: <EAA8Ax.KIz@world.std.com> (raw)
In-Reply-To: 337BD41B.2FE1@mail.us.net
In article <337BD41B.2FE1@mail.us.net>,
Mark D. McKinney <mckmark@mail.us.net> wrote:
>> D1 := 0.495;
>> D2 := 0.500;
>To_Time_Span(D1) = Integer(D1) = 0
>To_Time_Span(D2) = Integer(D2) = 1
No, that's not right. Time_Span is an integer count of Time_Span_Units,
which is less than or equal to 20 microseconds. E.g. if Time_Span_Unit
= 0.000_010, then To_Time_Span(D2) will be approx 50_000
Time_Span_Units, which is half a second.
- Bob
next prev parent reply other threads:[~1997-05-16 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 [this message]
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
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