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-12 11:15:41 PST Newsgroups: comp.lang.ada Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!hermes.visi.com!news-out.visi.com!uunet!ffx.uu.net!world!bobduff From: Robert A Duff Subject: Re: Random number generators Sender: bobduff@world.std.com (Robert A Duff) Message-ID: Date: Tue, 12 Sep 2000 18:09:50 GMT References: <39BE6324.4EB69692@netcourrier.com> Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: supernews.google.com comp.lang.ada:609 Date: 2000-09-12T18:09:50+00:00 List-Id: Mathias Dolidon writes: > 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 ? No, you will not necessarily get the same sequence. - Bob