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,13a53a863bda3aeb X-Google-Attributes: gid103376,public From: njt@sv1pc161.cs.york.ac.uk (Nigel J. Tracey) Subject: Re: Source for Random Number Generator Date: 1997/02/07 Message-ID: #1/1 X-Deja-AN: 215095840 references: <5d8b95$oec@zeus.orl.mmc.com> to: kcronin@unconfigured.xvnews.domain organization: The University of York, UK newsgroups: comp.lang.ada Date: 1997-02-07T00:00:00+00:00 List-Id: 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