comp.lang.ada
 help / color / mirror / Atom feed
From: "Anisimkov" <anisimkov@yahoo.com>
Subject: Re: Random Number Generator Problem
Date: Fri, 25 Jul 2003 23:06:54 +0600
Date: 2003-07-25T23:06:54+06:00	[thread overview]
Message-ID: <bfrjss$7si$1@ns.omskelecom.ru> (raw)
In-Reply-To: 30c81431.0307250634.77148b62@posting.google.com

> I'm generating a series of unsigned 64 bit integers and I get the same
> value for about half of the results.

I was reporting this bug to ACT.

Do not use mod 2**64 types in random generator untill this bug would be
fixed.
Use mod 2**63 or multiplication of two random numbers of mod 2**32.





  parent reply	other threads:[~2003-07-25 17:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-25 14:34 Random Number Generator Problem Brien
2003-07-25 15:34 ` Robert I. Eachus
2003-07-28 13:14   ` Brien
2003-07-25 17:06 ` Anisimkov [this message]
2003-07-25 18:05   ` 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