Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: Random generator not random at all
Home

[Freeciv-Dev] Re: Random generator not random at all

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Random generator not random at all
From: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: 30 Jul 2000 02:19:58 +0200

David Pfitzner <dwp@xxxxxxxxxxxxxx> writes:

> - Pre-heat the generator with 100000 goes in mysrand().  Using 
>   divisor method test_random1() looks ok even without pre-heating,
>   but it seems like a good idea to pre-heat anyway (eg for more
>   subtle issues not revealed by test_random1().)

From my tests, 10000 seemed to be enough (I meant to type that). Might
introduce a delay on slow architectures, otherwise.

        Falk




[Prev in Thread] Current Thread [Next in Thread]