From owner-cvs-all Sun Feb 25 7:56: 8 2001 Delivered-To: cvs-all@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 4309337B4EC; Sun, 25 Feb 2001 07:56:04 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.2/8.11.2) id f1PFtb055912; Sun, 25 Feb 2001 18:55:37 +0300 (MSK) (envelope-from ache) Date: Sun, 25 Feb 2001 18:55:36 +0300 From: "Andrey A. Chernov" To: "Jacques A. Vidrine" , Matt Dillon , Bruce Evans , Kris Kennaway , Robert Watson , Nick Sayer , 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> References: <200102250900.f1P90Qc12868@earth.backplane.com> <20010225092416.A46959@hamlet.nectar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010225092416.A46959@hamlet.nectar.com>; from n@nectar.com on Sun, Feb 25, 2001 at 09:24:16AM -0600 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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