Search NASAโŒ• Search

NASA NTRS ยท 19860012681

The RANDOM computer program: A linear congruential random number generator

Abstract

The RANDOM Computer Program is a FORTRAN program for generating random number sequences and testing linear congruential random number generators (LCGs). The linear congruential form of random number generator is discussed, and the selection of parameters of an LCG for a microcomputer described. 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 micromputers or mainframe computers.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Miles, R. F., Jr.. 1986-02-15. The RANDOM computer program: A linear congruential random number generator. https://ntrs.nasa.gov/citations/19860012681

Cite the original work for its findings. Save a collection to share your selection of sources.