Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] abtl_v1_0.gz(4 Kbytes)
Manuscript Title: A random number generator for PC's.
Authors: G. Marsaglia, B. Narasimhan, A. Zaman
Program title: ACARRYPC
Catalogue identifier: ABTL_v1_0
Distribution format: gz
Journal reference: Comput. Phys. Commun. 60(1990)345
Programming language: Assembler.
Computer: IBM PC.
RAM: 1K words
Word size: 32
Keywords: General purpose, Statistical methods, Random number generators, Monte Carlo, Lagged-Fibonacci, Add-with-carry, Subtract-with-borrow.
Classification: 4.13.

Other versions:
Cat Id Title Reference
ACLW_v1_0 RANTAUMAR CPC 75(1993)105
ACLW_v2_0 RANTAUMAR2 CPC 78(1993)172
ACLW_v3_0 RANSAL CPC 81(1994)237

Nature of problem:
Any Monte Carlo calculation requiring a uniform random number generator.

Solution method:
The add-and-carry method is adapted to PC's.

Restrictions:
The generator produces either 32-bit integers or 32-bit reals uniform in the interval either from zero to one or -1 to 1. The period is approximately 2**1407.

Unusual features:
The expectionally long period coupled with high speed and low storage requirements, make this generator suitable for the most extensive Monte Carlo calculations, and the ability to simultaneously generate independent sequences means that it can be used to make computations in parallel on several PC's.