From owner-freebsd-current Sun Feb 2 10:56:57 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85B0537B401; Sun, 2 Feb 2003 10:56:56 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 581D743F43; Sun, 2 Feb 2003 10:56:55 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.6/8.12.6) with ESMTP id h12IusLf078898; Sun, 2 Feb 2003 18:56:54 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost) by storm.FreeBSD.org.uk (8.12.6/8.12.6/Submit) with UUCP id h12IusgR078897; Sun, 2 Feb 2003 18:56:54 GMT X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.6/8.12.6) with ESMTP id h12IqiaX049893; Sun, 2 Feb 2003 20:52:44 +0200 (SAST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200302021852.h12IqiaX049893@grimreaper.grondar.org> To: "Andrey A. Chernov" Cc: phk@freebsd.org, Doug Barton , Kris Kennaway , current@freebsd.org Subject: Re: rand() is broken In-Reply-To: Your message of "Sun, 02 Feb 2003 21:38:26 +0300." <20030202183826.GA66487@nagual.pp.ru> Date: Sun, 02 Feb 2003 18:52:44 +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "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