Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 00:18:15 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Mark Murray <mark@grondar.za>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: rand.c patch for review (was: Re: cvs commit: ports/astro/xglobe/files patch-random)
Message-ID:  <20010226001814.A59577@nagual.pp.ru>
In-Reply-To: <200102252016.f1PKFvR02915@gratis.grondar.za>; from mark@grondar.za on Sun, Feb 25, 2001 at 10:16:42PM %2B0200
References:  <20010225125901.A47165@hamlet.nectar.com> <200102252016.f1PKFvR02915@gratis.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 25, 2001 at 22:16:42 +0200, Mark Murray wrote:
> 
> Andrey - you had something - what was its origin?

Current direct origins 1) stdlib/random.c:good_rand() or 2)  
libkern/random.c:random(). First one comes after long discussion for bad
random() distribution long time ago, I didn't remember person who point to
it. Second one (identical code) seems come independently from BSD 4.4
Lite. Both have this reference:

From "Random number generators: good ones are hard to find",
Park and Miller, Communications of the ACM, vol. 31, no. 10,
October 1988, p. 1195.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010226001814.A59577>