comp.lang.ada
 help / color / mirror / Atom feed
From: njt@sv1pc161.cs.york.ac.uk (Nigel J. Tracey)
To: kcronin@unconfigured.xvnews.domain
Subject: Re: Source for Random Number Generator
Date: 1997/02/07
Date: 1997-02-07T00:00:00+00:00	[thread overview]
Message-ID: <ka5fd5.h44.ln@localhost> (raw)
In-Reply-To: 5d8b95$oec@zeus.orl.mmc.com


In article <5d8b95$oec@zeus.orl.mmc.com>,
	kcronin@unconfigured.xvnews.domain (Kevin Cronin) writes:
>Does anyone have some quick & dirty Ada source for a 
>random number generator that returns a float in the range 0.1 .. 1.0?
>Thanks.
>
>

Try from the Ada.Numerics.Random package implemenation in Gnat in the
file a-numran.adb in the adainclude directory. This is between 0.0 and
1.0, not sure if that is important for you.

Nigel






       reply	other threads:[~1997-02-07  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5d8b95$oec@zeus.orl.mmc.com>
1997-02-07  0:00 ` Nigel J. Tracey [this message]
1997-02-10  0:00   ` Source for Random Number Generator Jeff Carter
     [not found] ` <EACHUS.97Feb6161130@spectre.mitre.org>
1997-02-07  0:00   ` Robert I. Eachus
1997-02-10  0:00     ` VADSWorks X-Debugger Michael Levasseur
     [not found] ` <19970206153301.KAA04399@ladder01.news.aol.com>
1997-02-08  0:00   ` Source for Random Number Generator Robert I. Eachus
1997-02-11  0:00     ` johnherro
replies disabled

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