Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2001 18:55:36 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        "Jacques A. Vidrine" <n@nectar.com>, Matt Dillon <dillon@earth.backplane.com>, Bruce Evans <bde@zeta.org.au>, Kris Kennaway <kris@obsecurity.org>, Robert Watson <rwatson@FreeBSD.ORG>, Nick Sayer <nsayer@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/astro/xglobe/files patch-random
Message-ID:  <20010225185535.A55782@nagual.pp.ru>
In-Reply-To: <20010225092416.A46959@hamlet.nectar.com>; from n@nectar.com on Sun, Feb 25, 2001 at 09:24:16AM -0600
References:  <Pine.BSF.4.21.0102251920150.6561-100000@besplex.bde.org> <200102250900.f1P90Qc12868@earth.backplane.com> <20010225092416.A46959@hamlet.nectar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 25, 2001 at 09:24:16 -0600, Jacques A. Vidrine wrote:
> My conclusion is that either:
>  
>    Our implementation of `rand' loses.  

We can easily improve much our rand() random distribution staying inside
the same API by using just different calculation formula, as we already do
with random(). I plan to do it long time ago, but lost interest. I can dig
out this formula, if someone is interested.

-- 
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?20010225185535.A55782>