From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Floating point problems in GNAT
Date: 1997/02/16
Date: 1997-02-16T00:00:00+00:00 [thread overview]
Message-ID: <dewar.856096347@merv> (raw)
In-Reply-To: E5oBMH.6rA@thomsoft.com
Keith said
<<The division operator yields a result of type universal_fixed; the
implicit conversion back to type Duration causes a loss of precision.
As far as the programmer is concerned, this looks like an inexact division
operation on type Duration.
Real arithmetic is tricky.>>
This seems a poor example, since it is no different from the situation in
integer arithmetic, where 1/3 also is "inexact".
next prev parent reply other threads:[~1997-02-16 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-12 0:00 Floating point problems in GNAT Wolfgang Lohmann
[not found] ` <E5KKo6.CKH@thomsoft.com>
[not found] ` <EACHUS.97Feb14115527@spectre.mitre.org>
1997-02-16 0:00 ` Keith Thompson
1997-02-16 0:00 ` Robert Dewar [this message]
1997-02-19 0:00 ` Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox