Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

The RANDOM computer program: A linear congruential random number generator

Technical Report ·
OSTI ID:6918453
The RANDOM Computer Program is a FORTRAN program for generating random number sequences and testing linear congruential random number generators (LCGs). This document discusses the linear congruential form of a random number generator, and describes how to select the parameters of an LCG for a microcomputer. This document describes the following: (1) The RANDOM Computer Program; (2) RANDOM.MOD, the computer code needed to implement an LCG in a FORTRAN program; and (3) The RANCYCLE and the ARITH Computer Programs that provide computational assistance in the selection of parameters for an LCG. The RANDOM, RANCYCLE, and ARITH Computer Programs are written in Microsoft FORTRAN for the IBM PC microcomputer and its compatibles. With only minor modifications, the RANDOM Computer Program and its LCG can be run on most microcomputers or mainframe computers.
Research Organization:
Jet Propulsion Lab., Pasadena, CA (USA)
DOE Contract Number:
AI01-85CE89008
OSTI ID:
6918453
Report Number(s):
DOE/JPL-1012-116; JPL-PUB-85-97; ON: DE87005421
Country of Publication:
United States
Language:
English