comp.lang.ada
 help / color / mirror / Atom feed
From: Phil Slater <phil.slater@amsjv.com>
Subject: Re: Random number generators
Date: Wed, 13 Sep 2000 12:12:05 +0100
Date: 2000-09-13T12:12:05+01:00	[thread overview]
Message-ID: <39BF6105.CC8C881@amsjv.com> (raw)
In-Reply-To: 39BE6324.4EB69692@netcourrier.com

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




  parent reply	other threads:[~2000-09-13 11:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-12 17:08 Random number generators Mathias Dolidon
2000-09-12 18:09 ` Robert A Duff
2000-09-13 11:12 ` Phil Slater [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-05-08  4:56 Random Number Generators Gregory Aharonian
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox