comp.lang.ada
 help / color / mirror / Atom feed
From: reason67@my-deja.com
Subject: Re: modular arithmetic bug in gnat?
Date: 2000/02/09
Date: 2000-02-09T00:00:00+00:00	[thread overview]
Message-ID: <87smrj$1bk$1@nnrp1.deja.com> (raw)
In-Reply-To: 38A144A0.141EA33F@chelmsford.com

In article <38A144A0.141EA33F@chelmsford.com>,
  David Shochat <shochat@chelmsford.com> wrote:

> The same program on Rational Apex (3.2.0b, HP-UX 11.0) gives 1416
which
> is what you get if you reduce mod 2**16 immediately after the
> multiplication but before the division.
>
> Do you agree?

Have you tried recompiling it with no optimization to see if you get the
expected results?
---
Jeffrey Blatt


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~2000-02-09  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-09  0:00 modular arithmetic bug in gnat? David Shochat
2000-02-09  0:00 ` tmoran
2000-02-09  0:00 ` reason67 [this message]
2000-02-16  0:00 ` Nick Roberts
replies disabled

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