delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/13/09:42:24

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro and random numbers.
Date: Sun, 13 Feb 2000 10:00:09 +0200
Organization: NetVision Israel
Lines: 11
Message-ID: <Pine.SUN.3.91.1000213095950.29873Q-100000@is>
References: <38A020E4 DOT 9D28E963 AT tiscalinet DOT it> <Pine DOT SUN DOT 3 DOT 91 DOT 1000209091129 DOT 9816Q-100000 AT is> <enr5assmagdrd6u5i93ugel0425kkc1qhe AT 4ax DOT com>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 950428994 7453 199.203.121.2 (13 Feb 2000 08:03:14 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 13 Feb 2000 08:03:14 GMT
X-Sender: eliz AT is
In-Reply-To: <enr5assmagdrd6u5i93ugel0425kkc1qhe@4ax.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 10 Feb 2000, Damian Yerrick wrote:

> >For comparison, `rand' has a period of at least 2^31, and `random' has 
> >much larger period.
> 
> But will these PRNGs have the same sequence on all platforms?

No, not unless you use the same sources for `rand' and `random' on all
platforms.  If you use different library sources, the random series
will be different.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019