Mail Archives: djgpp/1997/03/12/17:47:22
On Sun, 9 Mar 1997 21:08:12 GMT, cigna AT helios DOT phy DOT OhioU DOT Edu (Dave
Cigna) wrote:
>>In practise, though, MAXINT and RAND_MAX are so high that it doesn't
>>really matter.
>
>Well, whether on not it's pedantic depends on what you're using the
>numbers for. There are applications (for example Monte Carlo type
>calculations) where non-uniformity of even this magnitude is a real
>problem. But anyone using rand() or random() for this sort of thing
>deserves what they get. So you are right, in practise it doesn't really
>matter.
A long, long, time ago, on a newsgroup far, far, away, a guy called
Bob Jenkins and I had a discussion about good random number generators
(cryptographically secure ones, in fact), with the result that I have
a tarted up version of his RNG called ISAAC on my web page at
"http://www.abwillms.demon.co.uk/crypto/".
It compiles fine under DJGPP, 'coz that's what I used.
More info can be got from
"http://ourworld.compuserve.com/homepages/bob_jenkins/randomnu.htm"
ABW
--
"Simply drag your mother in law's cellphone number from the
Address Book to the Laser Satellite icon, and the Targeting
Wizard will locate her. Then follow the onscreen prompts for
gigawattage and dispersion pattern..."
(Windows for Early Warning and Defence User's manual P385)
Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>
- Raw text -