Accession Number:

ADA156059

Title:

A Quickly Tested Pascal Random Number Generator for Microcomputers.

Descriptive Note:

Final rept.,

Corporate Author:

MITRE CORP BEDFORD MA

Report Date:

1985-05-01

Pagination or Media Count:

53.0

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

Subject Categories:

  • Computer Programming and Software
  • Computer Hardware

Distribution Statement:

APPROVED FOR PUBLIC RELEASE