Abstract
We present a universal optimization for generating a uniformly distributed integer in an interval, based on the underlying uniform distribution. This optimization provides up to 25% run-time improvement, and what is sometimes more important, up to 25% reduction in usage of (pseudo-)random bits. The optimization entails no run-time penalty for all but the most primitive pseudo-random number generators, and can be easily employed by existing software and hardware. For hardware implementations we present additional improvements.
| Original language | English |
|---|---|
| Pages (from-to) | 722-725 |
| Number of pages | 4 |
| Journal | Information Processing Letters |
| Volume | 109 |
| Issue number | 13 |
| DOIs | |
| State | Published - 15 Jun 2009 |
Keywords
- Algorithms
- Random number generation
ASJC Scopus subject areas
- Theoretical Computer Science
- Signal Processing
- Information Systems
- Computer Science Applications