A portable random number generator with built-in well-spread seeds

  • Authors:
  • Graham Birtwistle

  • Affiliations:
  • -

  • Venue:
  • WSC '81 Proceedings of the 13th conference on Winter simulation - Volume 2
  • Year:
  • 1981

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper discusses the techniques employed in implementing pseudo-random number generating routines in Demos (a discrete event simulation extension to Simula). We give a basic routine for generating random numbers uniform in the interval (0, 1) and show how this was built out to produce the other standard distributions such as randint, Poisson, negexp, etc.; then we show how the basic routine can be adapted to generate many well-separated seeds; and how to effect automatic reporting. The techniques can be employed with other random number generators and in languages other than Simula.