Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 16:49:51 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Bakul Shah <bakul@bitblocks.com>, Mark Murray <mark@grondar.org>, current@FreeBSD.ORG
Subject:   Re: rand() is broken
Message-ID:  <20030203004951.GA73497@troutmask.apl.washington.edu>
In-Reply-To: <3E3DB9B3.A233B848@mindspring.com>
References:  <200302022106.h12L6naX051530@grimreaper.grondar.org> <200302022159.QAA13933@wellington.cnchost.com> <20030202223725.GA72744@troutmask.apl.washington.edu> <3E3DB9B3.A233B848@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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