Portable random number generators
Gerald Dwyer and
K. B. Williams
No 99-14, FRB Atlanta Working Paper from Federal Reserve Bank of Atlanta
Abstract:
Computers are deterministic devices, and a computer-generated random number is a contradiction in terms. As a result, computer-generated pseudorandom numbers are fraught with peril for the unwary. We summarize much that is known about the most well-known pseudorandom number generators: congruential generators. We also provide machine-independent programs to implement the generators in any language that has 32-bit signed integers-for example C, C++, and FORTRAN. Based on an extensive search, we provide parameter values better than those previously available.
Keywords: Programming (Mathematics); Computers (search for similar items in EconPapers)
Date: 1999
New Economics Papers: this item is included in nep-dge, nep-ecm and nep-evo
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.atlantafed.org/-/media/documents/resea ... s/wp/1999/wp9914.pdf (application/pdf)
Related works:
Journal Article: Portable random number generators (2003)
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:fip:fedawp:99-14
Ordering information: This working paper can be ordered from
Access Statistics for this paper
More papers in FRB Atlanta Working Paper from Federal Reserve Bank of Atlanta Contact information at EDIRC.
Bibliographic data for series maintained by Rob Sarwark ().