Date: Tue, 4 Feb 2003 19:09:40 +0300 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Dag-Erling Smorgrav <des@ofug.org> Cc: David Schultz <dschultz@uclink.Berkeley.EDU>, Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.ORG Subject: Re: rand() is broken Message-ID: <20030204160939.GA94299@nagual.pp.ru> In-Reply-To: <20030204143604.GA93522@nagual.pp.ru> References: <20030204094659.GA87303@nagual.pp.ru> <20030204115237.GA6483@HAL9000.homeunix.com> <xzpfzr4b3pw.fsf@flood.ping.uio.no> <20030204131006.GB92301@nagual.pp.ru> <20030204131748.GA92510@nagual.pp.ru> <20030204132845.GA92674@nagual.pp.ru> <20030204134714.GA92940@nagual.pp.ru> <20030204140806.GA93236@nagual.pp.ru> <xzpisw0unw4.fsf@flood.ping.uio.no> <20030204143604.GA93522@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 04, 2003 at 17:36:04 +0300, Andrey A. Chernov wrote: > with a != 0 values are monotonically increased, I try with > a == 123459876 With your a == 62089911 (i.e. +1) the same: 0: 62089911 1: 124179822 2: 186269733 3: 248359644 4: 310449555 5: 372539466 6: 434629377 7: 496719288 8: 558809199 9: 620899110 With a == 0 the same: 0: 0 1: 62089911 2: 124179822 3: 186269733 4: 248359644 5: 310449555 6: 372539466 7: 434629377 8: 496719288 9: 558809199 Where is improvement? -- 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?20030204160939.GA94299>