NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.

Back to Results
Pseudo-random number generator for the Sigma 5 computerA technique is presented for developing a pseudo-random number generator based on the linear congruential form. The two numbers used for the generator are a prime number and a corresponding primitive root, where the prime is the largest prime number that can be accurately represented on a particular computer. The primitive root is selected by applying Marsaglia's lattice test. The technique presented was applied to write a random number program for the Sigma 5 computer. The new program, named S:RANDOM1, is judged to be superior to the older program named S:RANDOM. For applications requiring several independent random number generators, a table is included showing several acceptable primitive roots. The technique and programs described can be applied to any computer having word length different from that of the Sigma 5.
Document ID
19830014813
Acquisition Source
Legacy CDMS
Document Type
Technical Memorandum (TM)
Authors
Carroll, S. N.
(NASA Marshall Space Flight Center Huntsville, AL, United States)
Date Acquired
September 4, 2013
Publication Date
February 1, 1983
Subject Category
Numerical Analysis
Report/Patent Number
NAS 1.15:82516
NASA-TM-82516
Report Number: NAS 1.15:82516
Report Number: NASA-TM-82516
Accession Number
83N23084
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available