Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2003 14:26:00 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Mark Murray <mark@grondar.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: Final fix for 0 problem (was Re: rand() is broken)
Message-ID:  <20030203112559.GA77385@nagual.pp.ru>
In-Reply-To: <200302031119.h13BJHaX058897@grimreaper.grondar.org>
References:  <20030203110841.GA77187@nagual.pp.ru> <200302031119.h13BJHaX058897@grimreaper.grondar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 03, 2003 at 11:19:17 +0000, Mark Murray wrote:
> 
> "simple test"?
> 
> How long did you check for?

See my another message with details.

> random() is documented to not repeat before some number of outputs;
> how do you know that this fix does not significantly shorten that?

random(3) is not affected to to its hashing nature. We talk about rand(3).

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

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




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