From: mfb@mbunix.mitre.org (Michael F Brenner)
Subject: Re: How do you randomise integers?
Date: 1997/05/19
Date: 1997-05-19T00:00:00+00:00 [thread overview]
Message-ID: <5lqn52$kss@top.mitre.org> (raw)
In-Reply-To: 01bc6221$5c8b3100$1a8602cb@whippet
You said you could do it in C++. That would make it very easy in Ada,
because we could either (1) call the C++ or (2) translate the C++
into Ada. Could you post the C++ code that reads the system clock,
converts it to a set of integers you have declared? Seeding the
random number generator is just a matter of storing those integers
into an array
The ++ could be your Program Design Language for the Ada code. THen
just substitute a call to the Ada clock and the Ada random number
generation setter (reset).
Or we could program our own random number generator and try to make it
pass the stringent Bob Eachustests.
Obviously you can
next prev parent reply other threads:[~1997-05-19 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-16 0:00 How do you randomise integers? the AJE
1997-05-19 0:00 ` Michael F Brenner [this message]
1997-05-20 0:00 ` Nick Roberts
1997-05-20 0:00 ` Jon S Anthony
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox