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)

Open PDF

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

Tags

Communities of Interest

  • Energy and Power Technologies
  • Materials and Manufacturing Processes

DTIC Thesaurus Topics

  • Air Force
  • Airborne Warning And Control System
  • Algorithms
  • Computer Programming
  • Computer Programs
  • Computers
  • Control Systems
  • Data Science
  • Information Science
  • Normal Distribution
  • Numbers
  • Prime Numbers
  • Random Number Generators
  • Real Numbers
  • Simulations
  • Statistical Analysis
  • Statistical Tests

Fields of Study

  • Mathematics

Readers

  • Computer Programming and Software Development.
  • Computer Science.