CoChat

TestU01: A C library for empirical testing of random number generators

L'Ecuyer, Pierre, Simard, Richard · 2007 · ACM Transactions on Mathematical Software

The DOI matches its Crossref record; 129 of the 130 references it cites were found in a registry or an index.

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 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.

Overview

Integrity signals

Registry

Crossref · 10.1145/1268776.1268777

Cites

129 of 129 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Citations

Cites

Show all 129 references

Research works printed but not linked: 13

  1. Gammel , B. M. 2005 . Matpack C++ Numerics and Graphics Library , Release 1 . 8 . 1 . http://users.physik.tu-muenchen.de/gammel/matpack/index.html. Gammel, B. M. 2005. Matpack C++ Numerics and Graphics Library, Release 1.8.1. http://users.physik.tu-muenchen.de/gammel/matpack/index.html.
  2. IBM 1968. System/360 Scientific Subroutine Package. Version III , Programmer's Manual. IBM, White Plains , New York . IBM 1968. System/360 Scientific Subroutine Package. Version III, Programmer's Manual. IBM, White Plains, New York.
  3. IMSL. 1997. IMSL STAT/ LIBRARY. Visual Numerics Inc ., Houston, TX . http://www.vni.com/books/dod/pdf/STATVol_2.pdf. IMSL. 1997. IMSL STAT/LIBRARY. Visual Numerics Inc., Houston, TX. http://www.vni.com/books/dod/pdf/STATVol_2.pdf.
  4. Jenkins , B. 1996 . ISAAC. in fast software encryption . In Proceedings of the 3rd International Workshop . Cambridge, UK, D. Gollmann, Ed. Lecture Notes in Computer Science , vol. 1039 . Springer-Verlag, 41--49. http://burtleburtle.net/bob/rand/isaacafa.html. Jenkins, B. 1996. ISAAC. in fast software encryption. In Proceedings of the 3rd International Workshop. Cambridge, UK, D. Gollmann, Ed. Lecture Notes in Computer Science, vol. 1039. Springer-Verlag, 41--49. http://burtleburtle.net/bob/rand/isaacafa.html.
  5. L'Ecuyer , P. 2004. Random number generation . In Handbook of Computational Statistics , J. E. Gentle, W. Haerdle, and Y. Mori, Eds. Springer-Verlag , Berlin, Germany . 35--70. Chapter II.2. L'Ecuyer, P. 2004. Random number generation. In Handbook of Computational Statistics, J. E. Gentle, W. Haerdle, and Y. Mori, Eds. Springer-Verlag, Berlin, Germany. 35--70. Chapter II.2.
  6. Maplesoft . 2006. Maple User Manual . Waterloo Maple Inc., Waterloo, Canada . http://www.maplesoft.com/products/maple/. Maplesoft. 2006. Maple User Manual. Waterloo Maple Inc., Waterloo, Canada. http://www.maplesoft.com/products/maple/.
  7. Marsaglia , G. 1985 . A current view of random number generators. In Computer Science and Statistics , Sixteenth Symposium on the Interface. Elsevier Science Publishers, North-Holland , Amsterdam, The Netherlands. 3--10. Marsaglia, G. 1985. A current view of random number generators. In Computer Science and Statistics, Sixteenth Symposium on the Interface. Elsevier Science Publishers, North-Holland, Amsterdam, The Netherlands. 3--10.
  8. MathSoft Inc. 2000. S-PLUS 6.0 Guide to Statistics. Vol. 2. Data Analysis Division , Seattle, WA . MathSoft Inc. 2000. S-PLUS 6.0 Guide to Statistics. Vol. 2. Data Analysis Division, Seattle, WA.
  9. Project , T. G. 2003 . R : An Environment for Statistical Computing and Graphics. The Free Software Foundation. Version 1 . 6 . 2 . http://www.gnu.org/directory/GNU/R.html. Project, T. G. 2003. R: An Environment for Statistical Computing and Graphics. The Free Software Foundation. Version 1.6.2. http://www.gnu.org/directory/GNU/R.html.
  10. SciFace Software . 2004. Mu PAD . SciFace Software GmbH & ; Co.KG , Paderborn, Germany . http://www.mupad.de/home.html. SciFace Software. 2004. MuPAD. SciFace Software GmbH & Co.KG, Paderborn, Germany. http://www.mupad.de/home.html.
  11. Stephens , M. S. 1986a. Tests based on EDF statistics . In Goodness-of-Fit Techniques, R. B. D'Agostino and M . S. Stephens, Eds. Marcel Dekker , New York, NY . Stephens, M. S. 1986a. Tests based on EDF statistics. In Goodness-of-Fit Techniques, R. B. D'Agostino and M. S. Stephens, Eds. Marcel Dekker, New York, NY.
  12. Stephens , M. S. 1986b. Tests for the uniform distribution . In Goodness-of-Fit Techniques, R. B. D'Agostino and M . S. Stephens, Eds. Marcel Dekker , New York, NY , 331--366. Stephens, M. S. 1986b. Tests for the uniform distribution. In Goodness-of-Fit Techniques, R. B. D'Agostino and M. S. Stephens, Eds. Marcel Dekker, New York, NY, 331--366.
  13. Wegenkittl , S. 1998. Generalized &phis;-divergence and frequency analysis in Markov chains. Ph.D. thesis , University of Salzburg. http ://random.mat.sbg.ac.at/team/. Wegenkittl, S. 1998. Generalized &phis;-divergence and frequency analysis in Markov chains. Ph.D. thesis, University of Salzburg. http://random.mat.sbg.ac.at/team/.

Cited by

Items 301–400 of 1,000

Metadata

Authors
L'Ecuyer, P., & Simard, R.
Affiliations
  • Université de Montréal, Canada
  • Université de Montréal (CA)
Venue
ACM Transactions on Mathematical Software
Published
2007-08-15
Volume
33
Issue
4
Pages
1-40
ISSN
  • 0098-3500 (ISSN-L)
  • 1557-7295
OpenAlex
W1963898916
Cited by
1,014
References
130
Citations by year
2026: 50 · 2025: 69 · 2024: 56 · 2023: 60 · 2022: 64 · 2021: 69 · 2020: 68 · 2019: 54 · 2018: 55 · 2017: 51 · 2016: 45 · 2015: 54 · 2014: 59 · 2013: 51 · 2012: 46
FWCI
42.63
Type
journal article
Language
en
Open access
closed
Locations
ACM Transactions on Mathematical Software (publishedVersion, public-domain)
Topics
  • Physical Sciences › Mathematics › Numerical Analysis › Mathematical Approximation and Integration
  • Physical Sciences › Mathematics › Statistics and Probability › Probability and Statistical Research
  • Social Sciences › Decision Sciences › Management Science and Operations Research › Simulation Techniques and Applications
Keywords
TestU01, random number generators, uniform random number generators, empirical testing, test suite, bit sequences, sample size analysis

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.