Get the latest tech news

Good multipliers for congruential pseudorandom number generators


Congruential pseudorandom number generators rely on good multipliers, that is, integers that have good performance with respect to the spectral test. We provide lists of multipliers with a good lattice structure up to dimension eight and up to lag eight for generators with typical power-of-two moduli, analyzing in detail multipliers close to the square root of the modulus, whose product can be computed quickly.

View a PDF of the paper titled Computationally easy, spectrally good multipliers for congruential pseudorandom number generators, by Guy Steele and Sebastiano Vigna View PDF Abstract:Congruential pseudorandom number generators rely on good multipliers, that is, integers that have good performance with respect to the spectral test. We provide lists of multipliers with a good lattice structure up to dimension eight and up to lag eight for generators with typical power-of-two moduli, analyzing in detail multipliers close to the square root of the modulus, whose product can be computed quickly.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Good multipliers

Good multipliers