From owner-freebsd-current Sun Feb 2 16:50: 0 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 C93D237B401 for ; Sun, 2 Feb 2003 16:49:59 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C4F43F3F for ; Sun, 2 Feb 2003 16:49:59 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.6) with ESMTP id h130nqXv073657; Sun, 2 Feb 2003 16:49:52 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id h130np80073656; Sun, 2 Feb 2003 16:49:51 -0800 (PST) Date: Sun, 2 Feb 2003 16:49:51 -0800 From: Steve Kargl To: Terry Lambert Cc: Bakul Shah , Mark Murray , current@FreeBSD.ORG Subject: Re: rand() is broken Message-ID: <20030203004951.GA73497@troutmask.apl.washington.edu> References: <200302022106.h12L6naX051530@grimreaper.grondar.org> <200302022159.QAA13933@wellington.cnchost.com> <20030202223725.GA72744@troutmask.apl.washington.edu> <3E3DB9B3.A233B848@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E3DB9B3.A233B848@mindspring.com> User-Agent: Mutt/1.4i 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 On Sun, Feb 02, 2003 at 04:37:07PM -0800, Terry Lambert wrote: > > I can fire up my HP/UX and SunOS 4.1.3-U1 boxes too, if you need > those, but I'm pretty sure the reason you got a different answer > for newer Solaris was because it uses the SVR4 code, instead. > That's the whole point! You should not expect the output from random() for a given seed to produce the same sequence of numbers on different platforms. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message