## TestU01: A C library for empirical testing of random number generators (2007)

### Cached

### Download Links

- [www.iro.umontreal.ca]
- [ftp.vim.org]
- [chuck.ucs.indiana.edu]
- [ftp.genotec.ch]
- [spout.ussg.indiana.edu]
- [ftp.riken.go.jp]
- [ftp.genotec.ch]
- [ftp.vim.org]
- DBLP

### Other Repositories/Bibliography

Venue: | ACM Transactions on Mathematical Software |

Citations: | 26 - 1 self |

### BibTeX

@ARTICLE{Simard07testu01:a,

author = {Richard Simard and Université De Montréal},

title = {TestU01: A C library for empirical testing of random number generators},

journal = {ACM Transactions on Mathematical Software},

year = {2007},

pages = {2007}

}

### OpenURL

### Abstract

We introduce TestU01, 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 introducing TestU01, the paper 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.