EconPapers    
Economics at your fingertips  
 

The 64-bit universal RNG

George Marsaglia and Wai Wan Tsang

Statistics & Probability Letters, 2004, vol. 66, issue 2, 183-187

Abstract: We describe a random number generator that produces uniform [0,1) variates directly, as 64-bit floating point numbers, without the customary floating of integers. Using only subtraction and tests on magnitude, the method is readily implemented and should, given the same seed values, produce exactly the same random numbers with most programming languages. The resulting numbers have a very long period ([approximate]2202 or 1061) and apparently excellent randomness--supported by extensive testing.

Keywords: Random; number; generators; Seeds; 64-bit; floating; point (search for similar items in EconPapers)
Date: 2004
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (2)

Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0167-7152(03)00335-3
Full text for ScienceDirect subscribers only

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:eee:stapro:v:66:y:2004:i:2:p:183-187

Ordering information: This journal article can be ordered from
http://www.elsevier.com/wps/find/supportfaq.cws_home/regional
https://shop.elsevie ... _01_ooc_1&version=01

Access Statistics for this article

Statistics & Probability Letters is currently edited by Somnath Datta and Hira L. Koul

More articles in Statistics & Probability Letters from Elsevier
Bibliographic data for series maintained by Catherine Liu ().

 
Page updated 2025-03-19
Handle: RePEc:eee:stapro:v:66:y:2004:i:2:p:183-187