comp.lang.ada
 help / color / mirror / Atom feed
From: Mats Weber <Mats.Weber@elca-matrix.ch>
Subject: Re: Strange results with random numbers with Gnat 3.10
Date: 1998/01/08
Date: 1998-01-08T00:00:00+00:00	[thread overview]
Message-ID: <34B4F6AF.ED9567A3@elca-matrix.ch> (raw)
In-Reply-To: 34B46DA3.F65@uppsala.mail.telia.com


> Ok, below is the program. I've double checked the code, but
> maybe I'm not up to it, I can't find were the problem possibly
> could be in this code.

You are right, your code is correct and GNAT is wrong.

in the file a-nudira.ads, the line

   Offs : constant Flt := RstF + 0.5;

should be replaced with

   Offs : constant Flt := RstF - 0.5;




  reply	other threads:[~1998-01-08  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-07  0:00 Strange results with random numbers with Gnat 3.10 Andreas Almroth
1998-01-07  0:00 ` Mats Weber
1998-01-08  0:00   ` Andreas Almroth
1998-01-08  0:00     ` Mats Weber [this message]
1998-01-08  0:00 ` Philip Brashear
replies disabled

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