arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Vision and Pattern Recognition

Machine-independent Fortran coding of the Lehmer random number generators

W. Kirby

· Antarctica A Keystone in a Changing World

See on the map

Abstract

Random number generators of the Lehmer multiplicative congruential type are easily coded :'.n Fortran using double precision modular arithmetic. The technique rests jointly on double precision Fortran processing small whole numbers without ar<y loss of precision and on the generator's not producing any numbers too large to be processed exactly. The double precision code has been used to implement two 35-bit generators and a 47-bit generator on the 32-bit IBM System/360 and to implement several System/360 generators on other machines. Time trials suggest that the Fortran-language generators yield machine independence with only modest increases in total simulation run times.

More like this