comp.lang.ada
 help / color / mirror / Atom feed
From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
Subject: Re: [Q] Portability of <= and >= with real operands
Date: 1996/12/03
Date: 1996-12-03T00:00:00+00:00	[thread overview]
Message-ID: <581ime$405@fg70.rz.uni-karlsruhe.de> (raw)
In-Reply-To: E1u0nL.L0I@thomsoft.com


In comp.lang.ada, kst@aonix.com (Keith Thompson) wrote:

>Suppose you've computed two quantities, X and Y, such that X is
>mathematically known to be less than Y, but it may be arbitrarily close.

Just a general note:  Be careful even of this kind of statement unless
you have analyzed your floating point arithmetic and program very
carefully.  Rounding errors can even lead to X>Y.




  reply	other threads:[~1996-12-03  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-29  0:00 [Q] Portability of <= and >= with real operands JP Thornley
1996-11-29  0:00 ` Robert Dewar
1996-12-03  0:00   ` Keith Thompson
1996-12-03  0:00     ` Thomas Koenig [this message]
1996-12-03  0:00     ` Tucker Taft
1996-12-03  0:00       ` Larry Kilgallen
1996-12-03  0:00         ` Robert Dewar
1996-12-04  0:00       ` Keith Thompson
1996-12-03  0:00     ` Robert Dewar
1996-12-01  0:00 ` Tucker Taft
1996-12-02  0:00   ` Norman H. Cohen
replies disabled

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