paper

Bit recycling for scaling random number generators

arXiv:1012.4290

Abstract

Many Random Number Generators (RNG) are available nowadays; they are divided in two categories, hardware RNG, that provide "true" random numbers, and algorithmic RNG, that generate pseudo random numbers (PRNG). Both types usually generate random numbers as independent uniform samples in a range , with or . In applications, it is instead sometimes desirable to draw random numbers as independent uniform samples in a range , where moreover M may change between drawings. Transforming the sequence to is sometimes known as scaling. We discuss different methods for scaling the RNG, both in term of mathematical efficiency and of computational speed.