delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <423DC8D4.3000702@codesourcery.com> |
Date: | Sun, 20 Mar 2005 19:02:44 +0000 |
From: | Nathan Sidwell <nathan AT codesourcery DOT com> |
Organization: | Codesourcery LLC |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 |
MIME-Version: | 1.0 |
To: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
CC: | Alex Vinokur <alexvn AT users DOT sourceforge DOT net>, cygwin AT cygwin DOT com, |
gcc-help AT gcc DOT gnu DOT org | |
Subject: | Re: g++ & rand() in Cygwin |
References: | <d0u0pt$aj0$1 AT sea DOT gmane DOT org> <423DC28A DOT 8030408 AT familiehaase DOT de> |
In-Reply-To: | <423DC28A.8030408@familiehaase.de> |
Gerrit P. Haase wrote: > Alex Vinokur wrote: >> First pseuso-random number is 0. Random nnumber generators generally need to be seeded with a random seed. This naively strange behaviour allows you to get consistent sequences of random numbers, which is generally necessary for regression testing and debugging. nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan AT codesourcery DOT com :: http://www.planetfall.pwp.blueyonder.co.uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |