Programs in Physics & Physical Chemistry
|[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.|
Nature of problem:
Any Monte Carlo calculation requiring a uniform random number generator.
The add-and-carry method is adapted to PC's.
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.
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.
|Disclaimer | ScienceDirect | CPC Journal | CPC | QUB|