From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: next_period = start + n*period; versus next_period = next_period+period;
Date: Tue, 26 Oct 2004 19:16:54 +0200
Date: 2004-10-26T19:16:54+02:00 [thread overview]
Message-ID: <87sm81o0vt.fsf@deneb.enyo.de> (raw)
In-Reply-To: kgdoeiph2nq.fsf@ryp76.ryp.umu.se
* Paul Colin Gloster:
> however someone I am acquainted with swears by multiplication as in
> delay until Next_Period; where Next_Period := Start + Iteration*Period;
> instead, and demonstrated an example where it is more accurate. The
> following MATLAB excerpt illustrates this:
Time_Span doesn't use floating point arithmetic in Ada, and this
effect doesn't occur.
next prev parent reply other threads:[~2004-10-26 17:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-26 16:20 next_period = start + n*period; versus next_period = next_period+period; Paul Colin Gloster
2004-10-26 17:16 ` Florian Weimer [this message]
2004-10-27 7:35 ` Dmitry A. Kazakov
2004-10-27 13:46 ` Mark H Johnson
2004-10-27 14:41 ` Dmitry A. Kazakov
2004-10-28 13:37 ` Mark H Johnson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox