Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 1996 00:15:20 +0400 (MSD)
From:      "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" (Andrey A. Chernov) <ache@nagual.ru>
To:        imp@village.org (Warner Losh)
Cc:        hackers@FreeBSD.org
Subject:   Re: rand() and srand()
Message-ID:  <199610072015.AAA00446@nagual.ru>
In-Reply-To: <199610071857.MAA08190@rover.village.org> from "Warner Losh" at "Oct 7, 96 12:57:02 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> This tells me that if I give the same seed to srand() three times in a
> row, I will get the same pseudo random sequence out of it.
> 
> If you are proposing that this change, then you are breaking existing
> code's assumptions.  After all, it is documented to do this.

NOBODY HERE WANTS TO BREAK THE "SAME SEEDING" in rand() or random()!
TERRY'S IDEA OF "SAME SEEDING" IS HIS OWN TOY WHICH HAVE NOTHIG
COMMON WITH STANDARD "SAME SEEDING" IDEA.

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/



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