From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c76113b004e50a06 X-Google-Attributes: gid103376,public From: Robert Iredell Eachus Subject: Re: Gnat Chat, Random Numbers in GNAT Date: 2000/02/06 Message-ID: <389D1F5C.568C088B@earthlink.net>#1/1 X-Deja-AN: 582183346 Content-Transfer-Encoding: 7bit References: <389CBCBF.1DE4F0F@earthlink.net> X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii X-ELN-Date: Sat Feb 5 23:11:06 2000 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 949821066 63.24.55.201 (Sat, 05 Feb 2000 23:11:06 PST) Organization: EarthLink Network, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Sat, 05 Feb 2000 23:11:06 PST Newsgroups: comp.lang.ada Date: 2000-02-06T00:00:00+00:00 List-Id: Kent Paul Dolan wrote: > One can only hope that will be fixed _real soon now_; that's a pretty terrible > misfeature. Not really, the limit is actually to Standard.Integer seeds, so it will automagically grow to 64 bits in a few years. But notice that the generator can contain much more state, this is just a limit on the number of starting points. The caution here was that you could easily exceed 2**32 entities in your GA run. Once you do, you may see no new behavior. By limiting the number of generators to one per thread, you go up to ~2**49 starting states for entities. And incidently, the generator does go to some work so that sequential starting values will produce uncorrelated sequences, even right at the start. This allows you to write Reset(Generator(N), Seed+N); or some such.