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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e0fe0ae503ea3eb6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-09-13 04:20:49 PST Message-ID: <39BF6105.CC8C881@amsjv.com> Date: Wed, 13 Sep 2000 12:12:05 +0100 From: Phil Slater X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Random number generators References: <39BE6324.4EB69692@netcourrier.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: frmwkn5025.cr.frimley.gecm.com X-Trace: 13 Sep 2000 12:08:39 GMT, frmwkn5025.cr.frimley.gecm.com Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!212.74.64.35!colt.net!diablo.theplanet.net!btnet-peer!btnet!newreader.ukcore.bt.net!pull.gecm.com!frmwkn5025.cr.frimley.gecm.com Xref: supernews.google.com comp.lang.ada:624 Date: 2000-09-13T12:12:05+01:00 List-Id: Mathias The implication from AARM A.5.2.32a is that you would be likely to get a different sequence since it says: "Implementation defined: The algorithms for random number generation." Phil Slater Mathias Dolidon wrote: > I know that if I initialize a given generator with a given value, that > my program is compiled by a given compiler and runs on a given machine, > the output values of the genertor will always be the sames.Let's suppose > I get 1 2 3 4 (let's don't make it complicated ;). If now I compile the > same program with another compiler or I make it run on another computer > (or both), will I still get 1 2 3 4 ? Or is this unspecified by the > language ? > > Thank you, > Mathias