delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-Id: | <200007052211.PAA17557@aleph.ssd.hal.com> |
Subject: | Re: Random no. problem |
To: | cygwin AT sourceware DOT cygnus DOT com (Cygwin Mailing List) |
Date: | Wed, 5 Jul 2000 15:11:39 -0700 (PDT) |
In-Reply-To: | <20000705154730.21248@cse.cygnus.com> from "Michael Meissner" at Jul 05, 2000 03:47:30 PM |
From: | "J. J. Farrell" <jjf AT bcs DOT org DOT uk> |
X-Mailer: | ELM [version 2.5 PL2] |
MIME-Version: | 1.0 |
> From: Michael Meissner <meissner AT cygnus DOT com> > > On Wed, Jul 05, 2000 at 02:32:24PM -0400, DJ Delorie wrote: > > > > > Is there a way i can get the same random numbers on Windows NT 4 and > > > Sun/SGI ? > > > > You can write your own random number generator, and use it instead of > > the system's generator. Otherwise, there is *no* standard for random > > number generators. > > Actually the ISO C standard mandates the algorithm for the weaker 'rand' and > 'srand' functions. Is that new in C99 (or whenever the second version was ratified)? C89 includes an example implementation, but doesn't mandate any particular algorithm anywhere that I can see. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |