NASA NTRS · 19830014813
Pseudo-random number generator for the Sigma 5 computer
Abstract
A 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.
Keep this discovery
Explore connections, maps & timelines
Carroll, S. N.. 1983-02-01. Pseudo-random number generator for the Sigma 5 computer. https://searchnasa.com/record/nasa%3A19830014813/pseudo-random-number-generator-for-the-sigma-5-computer
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search NASA by Indiciae: BibTeX · RIS.