TestU01
Top Cited Papers
- 15 August 2007
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 33 (4) , 1-40
- https://doi.org/10.1145/1268776.1268777
Abstract
We introduceTestU01, a software library implemented in the ANSI C language, and offering a collection of utilities for the empirical statistical testing of uniform random number generators (RNGs). It provides general implementations of the classical statistical tests for RNGs, as well as several others tests proposed in the literature, and some original ones. Predefined tests suites for sequences of uniform random numbers over the interval (0, 1) and for bit sequences are available. Tools are also offered to perform systematic studies of the interaction between a specific test and the structure of the point sets produced by a given family of RNGs. That is, for a given kind of test and a given class of RNGs, to determine how large should be the sample size of the test, as a function of the generator's period length, before the generator starts to fail the test systematically. Finally, the library provides various types of generators implemented in generic form, as well as many specific generators proposed in the literature or found in widely used software. The tests can be applied to instances of the generators predefined in the library, or to user-defined generators, or to streams of random numbers produced by any kind of device or stored in files. Besides introducingTestU01, the article provides a survey and a classification of statistical tests for RNGs. It also applies batteries of tests to a long list of widely used RNGs.Keywords
This publication has 85 references indexed in Scilit:
- On the xorshift random number generatorsACM Transactions on Modeling and Computer Simulation, 2005
- On the performance of birthday spacings tests with certain families of random number generatorsMathematics and Computers in Simulation, 2001
- A new empirical test for parallel pseudo-random number generatorsMathematics and Computers in Simulation, 2001
- Random Number Generation for the New CenturyThe American Statistician, 2000
- Tests based on sum-functions of spacings for uniform random numbersJournal of Statistical Computation and Simulation, 1997
- Published by Elsevier ,1997
- RANLUX: A Fortran implementation of the high-quality pseudorandom number generator of LüscherComputer Physics Communications, 1994
- A portable high-quality random number generator for lattice field theory simulationsComputer Physics Communications, 1994
- A random number generator for PC'sComputer Physics Communications, 1990
- The limit distribution of the length of the longest head-runPeriodica Mathematica Hungarica, 1979