๐”– Bobbio Scriptorium
โœฆ   LIBER   โœฆ

A random number generator for PC's

โœ Scribed by George Marsaglia; B. Narasimhan; Arif Zaman


Publisher
Elsevier Science
Year
1990
Tongue
English
Weight
462 KB
Volume
60
Category
Article
ISSN
0010-4655

No coin nor oath required. For personal study only.

โœฆ Synopsis


It is now possible to do serious scientific work on personal computers (PC's). Many simulation studies, whether exploratory or for production runs, call for random numbers. We offer here a new kind of random number generator with implementation tailored specifically for PC's using Intel 8088/8086 or 80286/80386 processors. A floating-point coprocessor is not required or even useful for the generator, although, of course, a coprocessor may help other parts of a simulation. The generator has an extremely long periodsome 21407 -requires only 43 stored values and uses only one arithmetic operation: subtraction. It is one of a new class of generators that we have recently developed. They are called add-with-carry and subtract-with-borrow generators. Related to lagged-Fibonacci generators, the new class has an interesting underlying theory, astonishingly long periods and provable uniformity for full sequences. This article describes a machine language subroutine that provides 32-bit random integers as well as uniform (single precision) reals with standard 24-bit fractions.


๐Ÿ“œ SIMILAR VOLUMES


A random-number generator
โœ T.A. Brody ๐Ÿ“‚ Article ๐Ÿ“… 1984 ๐Ÿ› Elsevier Science ๐ŸŒ English โš– 554 KB
Random number generators for microcomput
โœ Wilfred Rosenbaum; John Syrotuik; Richard Gordon ๐Ÿ“‚ Article ๐Ÿ“… 1983 ๐Ÿ› Elsevier Science โš– 331 KB

The feasibility of random number generation using microcomputers is discussed and the appropriateness of alternative algorithms is evaluated on the basis of several criteria of statistical randomness. The relative deficiencies of each algorithm are cited and a modified Fibonacci generator is recomme