skip to main content
article

Conversion of high-period random numbers to floating point

Published:01 January 2007Publication History
Skip Abstract Section

Abstract

Conversion of unsigned 32-bit random integers to double precision floating point is discussed. It is shown that the standard practice can be unnecessarily slow and inflexible. It is argued that simulation experiments could benefit from making better use of the available precision.

References

  1. L'Ecuyer, P. 1996. Maximally equidistributed combined tausworthe generators. Math. Comput. 65, 203--213. Google ScholarGoogle Scholar
  2. Marsaglia, G. 2003a. Re: Good C random number generator. Posting, Usenet newsgroup sci.lang.c. 13-May-2003.Google ScholarGoogle Scholar
  3. Marsaglia, G. 2003b. Seeds for random number generators. Commun. ACM 46, 90--93. Google ScholarGoogle Scholar
  4. Marsaglia, G. and Tsang, W. W. 2004. The 64-bit universal RNG. Stat. Prob. Lett. 66, 183--187.Google ScholarGoogle Scholar
  5. Matsumoto, M. and Nishimura, T. 1998. Mersenne twister: A 623-dimensionally equidistributed uniform pseudorandom number generator. ACM Trans. Model. Comput. Simul. 8, 3--30. Google ScholarGoogle Scholar
  6. Panneton, F., L'Ecuyer, P., and Matsumoto, M. 2006. Improved long-period generators based on linear recurrences modulo 2. ACM Trans. Math. Soft. 32, 1--16. Google ScholarGoogle Scholar
  7. Press, W. H., Flannery, B. P., Teukolsky, S. A., and Vetterling, W. T. 1993. Numerical Recipes in C, 2nd ed. Cambridge University Press, New York.Google ScholarGoogle Scholar

Index Terms

  1. Conversion of high-period random numbers to floating point

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image ACM Transactions on Modeling and Computer Simulation
        ACM Transactions on Modeling and Computer Simulation  Volume 17, Issue 1
        January 2007
        84 pages
        ISSN:1049-3301
        EISSN:1558-1195
        DOI:10.1145/1189756
        Issue’s Table of Contents

        Copyright © 2007 ACM

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 January 2007
        Published in tomacs Volume 17, Issue 1

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader