ACM Home Page
Please provide us with feedback. Feedback
On the xorshift random number generators
Full text PdfPdf (194 KB)
Source ACM Transactions on Modeling and Computer Simulation (TOMACS) archive
Volume 15 ,  Issue 4  (October 2005) table of contents
Pages: 346 - 361  
Year of Publication: 2005
ISSN:1049-3301
Authors
François Panneton  Université de Montréal, Canada
Pierre L'ecuyer  Université de Montréal, Canada
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 73,   Citation Count: 4
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1113316.1113319
What is a DOI?

ABSTRACT

G. Marsaglia recently introduced a class of very fast xorshift random number generators, whose implementation uses three “xorshift” operations. They belong to a large family of generators based on linear recurrences modulo 2, which also includes shift-register generators, the Mersenne twister, and several others. In this article, we analyze the theoretical properties of xorshift generators, search for the best ones with respect to the equidistribution criterion, and test them empirically. We find that the vast majority of xorshift generators with only three xorshift operations, including those having good equidistribution, fail several simple statistical tests. We also discuss generators with more than three xorshifts.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Brent, R. P. 2004a. Note on Marsaglia's xorshift random number generators. J. Stat. Soft. 11, 5, 1--4. See http://www.jstatsoft.org/v11/i05/brent.pdf.
 
2
Brent, R. P. 2004b. Some uniform and normal random number generators. http://web.comlab.ox.ac.uk/oucl/work/richard.brent/random.html.
3
 
4
 
5
 
6
L'Ecuyer, P. 2004. Random number generation. In Handbook of Computational Statistics, J. E. Gentle, W. Haerdle, and Y. Mori, Eds. Springer-Verlag, Berlin, 35--70. Chapter II.2.
 
7
8
 
9
 
10
L'Ecuyer, P. and Simard, R. 2001b. TestU01: A software library in ANSI C for empirical testing of random number generators. Software User's Guide. Available at: http://www.iro.umontreal.ca/~lecuyer.
 
11
 
12
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, 3--10.
 
13
Marsaglia, G. 2003. Xorshift RNGs. J. Stat. Soft. 8, 14, 1--6. See http://www.jstatsoft.org/v08/i14/xorshift.pdf.
 
14
15
16
17
 
18
 
19
Niederreiter, H. 1995. The multiple-recursive matrix method for pseudorandom number generation. Finite Fields and their Applications 1, 3--30.
 
20
 
21
Panneton, F. 2004. Construction d'ensembles de points basée sur des récurrences linéaires dans un corps fini de caractéristique 2 pour la simulation Monte Carlo et l'intégration quasi-Monte Carlo. Ph.D. thesis, Département d'informatique et de recherche opérationnelle, Université de Montréal, Canada.
 
22
Panneton, F. and L'Ecuyer, P. 2004. Improved long-period generators based on linear recurrences modulo 2. Manuscript.


Collaborative Colleagues:
François Panneton: colleagues
Pierre L'ecuyer: colleagues