comp.lang.ada
 help / color / mirror / Atom feed
From: Mats Weber <Mats.Weber@elca-matrix.ch>
To: Andreas Almroth <andreas.almroth@uppsala.mail.telia.com>
Subject: Re: Strange results with random numbers with Gnat 3.10
Date: 1998/01/07
Date: 1998-01-07T00:00:00+00:00	[thread overview]
Message-ID: <34B3FDCB.A861170@elca-matrix.ch> (raw)
In-Reply-To: 34B3F618.DC9@uppsala.mail.telia.com


> I compiled and ran the dice example program, and everything
> seemed OK. But just as a curiousity I wanted to see how the
> numbers were actually distributed, so I changed the program
> to loop one million times, and then present the frequency.

Please show us the code. It's very easy to make a rounding mistake, which is
what seems to be the case here.




  reply	other threads:[~1998-01-07  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 [this message]
1998-01-08  0:00   ` Andreas Almroth
1998-01-08  0:00     ` Mats Weber
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