ASE2 CARD CATALOG ENTRY

Instructions:


ASSET OVERVIEW

UNIT NAME

RANDOM (RAN2)

VERSION
Oct 1988
REVIEW CODE
AR; C1 1.0 A
INET ADDRESS
ronbell@nosc.mil
AUTHOR
Ron Bell
NOSC
San Diego, CA
RIGHTS
PUBLIC DOMAIN
COPYRIGHT
DATE CREATED
Oct 1988
DATE RELEASED
Oct 1988
DATE LAST UPDATED
Oct 1988
LOCATION
ASR
ENVIRONMENT
Meridian AdaVantage 2.1, Compaq 286-12, MSDOS 3.2
LIMITATIONS
CERTIFICATION
Ada System Certifier_1 1.0
Date/Time of Processing: Monday    30 May       1994 06:06:18Pm
Overall Assessment of System: OK
Classification of System: A
Basis of Classification --
    Syntax Errors                               PASS
    Completeness                                PASS
    Independence from External Libraries        PASS
    Independence from a Specific Ada Compiler   PASS

Number of ...
  Files               1
  Library Units       2
  Lines             111
  Statements         28
  Comments           52

CLASSIFICATION

KEYWORD
Random Number Generator
INDEX
Generator, Random Number
RAN2
Bell, Ron
Naval Oceans Systems Center
NOSC
DEPENDENCIES
SEE ALSO
SHORT DESCRIPTION
Generate FLOAT Random Numbers from 0.0 to 1.0
TAXONOMY


Software Components
    Random Number Generator
      RAN (2)


FILE LISTING

FILE SPECS
Click here to enter Asset Directory/transfer Asset File(s): ../../ase02_02/comps/ran/ran2
DIRECTORY DISPLAY
Follow path to see directory

ABSTRACT

Based on random number generator program in the March 1987 issue of BYTE magazine. Calling program must first initialize package by calling Procedure GET_TIME_SEED. GET_TIME_SEED uses Package CALENDAR to obtain seed values for X, Y, Z between 0 and 30,000. Seconds, Day, and Month are used to ensure that successive calls to procedure will not obtain same seed values. Random numbers of type FLOAT are obtained by calling Function NUMBER.

NOTE: GET_TIME_SEED must be called at least once to generate the seeds needed for NUMBER.


REVISION HISTORY

DATE         VERSION	AUTHOR                  HISTORY
10/11/88     Oct 1988 Ron Bell               Initial Release

RELEASE NOTICE

This prologue must be included in all copies of this software.
This software is copyright by the author.
This software is released to the Ada community.
This software is released to the Public Domain (note:
  software released to the Public Domain is not subject
  to copyright protection).
Restrictions on use or distribution:  NONE

DISCLAIMER

	This software and its documentation are provided "AS IS" and
without any expressed or implied warranties whatsoever.  No warranties
as to performance, merchantability, or fitness for a particular
purpose exist.
	The user is advised to test the software thoroughly before
relying on it.  The user must assume the entire risk and liability of
using this software.  In no event shall any person or organization of
people be held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits.

ASE CARD CATALOG ENTRY NAVIGATION

Powered by the Generic Web-Based Reuse Library (GWRL)