delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/12/17:47:22

From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: a randomize function for DJGPP?
Date: Wed, 12 Mar 1997 20:10:33 GMT
Message-ID: <3325c26c.1773359@news.demon.co.uk>
References: <5flbpp$m74 AT nr1 DOT ottawa DOT istar DOT net> <331FC0D1 DOT 1A26 AT cs DOT com> <E6oqJs DOT K2n AT boss DOT cs DOT ohiou DOT edu> <5fps67$pc3 AT news DOT ox DOT ac DOT uk> <E6so1o DOT AI AT boss DOT cs DOT ohiou DOT edu>
NNTP-Posting-Host: abwillms.demon.co.uk
Lines: 36
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019