A Quickly Tested Pascal Random Number Generator for Microcomputers.
Abstract
An assembly language subroutine that uses a shifting mask to generate pseudo-random numbers has been written for use with Apple II microcomputer Pascal. The routine is nearly 80 times faster than a direct Pascal multiplicative congruence scheme. With the recommended starting parameters, the resulting stream has passed 10 different statistical tests for density and randomness. An efficient extension to the normal distribution is also presented. (Author)
Document Details
- Document Type
- Technical Report
- Publication Date
- May 01, 1985
- Accession Number
- ADA156059
Entities
People
- C. J. Colwell
- M. E. Lopez
- R. A. Dramstad
Organizations
- MITRE Corporation