Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2003 18:52:44 +0000
From:      Mark Murray <mark@grondar.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        phk@freebsd.org, Doug Barton <DougB@freebsd.org>, Kris Kennaway <kris@obsecurity.org>, current@freebsd.org
Subject:   Re: rand() is broken 
Message-ID:  <200302021852.h12IqiaX049893@grimreaper.grondar.org>
In-Reply-To: Your message of "Sun, 02 Feb 2003 21:38:26 %2B0300." <20030202183826.GA66487@nagual.pp.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrey A. Chernov" writes:
> On Sun, Feb 02, 2003 at 19:32:50 +0100, phk@freebsd.org wrote:
>
> > Anyway, last time we discussed this, I think we stuck with the
> > rand() we had because we feared that people were using it's
> > repeatable well documented sequence of random numbers in regression
> > testing.
>
> As documented, it must be repeatable across the calls for same seed,
> that is all. It not means repeatable accross platforms or across
> different OS versions. In fact it is already not repeatable across
> different OS'es, so regression is limited. Also, regression must not
> stop bugs fixing progress in anycase.

Given a particular seed, it is repeatable across anything that can
compile C.

M
--
Mark Murray
iumop ap!sdn w,I idlaH

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?200302021852.h12IqiaX049893>