Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3786382
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:40:28+00:00 2026-05-19T11:40:28+00:00

By best I mean the one that: passes all statistical tests behaves well even

  • 0

By best I mean the one that:

  • passes all statistical tests
  • behaves well even at very high dimensions
  • has an extremely large period

I can think of Mersenne Twister, but which variant is the best? Is there any better PRNG?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:40:28+00:00Added an answer on May 19, 2026 at 11:40 am

    Try MT’s successor: SFMT ( http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/index.html ). The acronym stands for SIMD-oriented Fast Mersenne Twister.
    It uses vector instructions,
    like SSE or AltiVec, to quick up random numbers generation.

    Moreover it displays larger periods than the original MT: SFMT can be configured to use periods up to 2216091 -1.

    Finally, MT had some problems when badly initialized: it tended to draw lots of 0, leading to bad quality random numbers. This problem could last up to 700000 draws before being compensated by the recurrence of the algorithm. As a consequence, SFMT has also been designed to leave this zero-excess state much quicker than its elder.

    Check the link I’ve given at the beginning of this post to find the source code and the scientific publications describing this algorithm.

    In order to definitely convince you, you can see here http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/speed.html a table comparing generation speeds of both MT and SFMT. In any case, SFMT is quicker while laying out better qualities than MT.

    — edit following commentaries —

    More generally, when you’re choosing a PRNG, you need to take into account the application you’re developing. Indeed, some PRNGs fit better to some applications constraints. MT and WELL generators for instance aren’t well suited for cryptographic applications, whereas they are the best choice when dealing with Monte Carlo Simulations.

    In our case, WELL may seem ideal thanks to its better equidistribution properties than SFMT. Nonetheless, WELL is also far slower and he’s not able to display periods as large as SFMT.

    As a conclusion, a PRNG cannot be stated as best for all the applications, but for a particular domain and in particular circumstances withal.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is Windows' best I/O event notification facility? By best I mean something that
What is the best IDE/editor/anything-else that manage javascript project on multiple files? I mean,
What is the best way to create databases on C# application, I mean by
OK, probably best to give an example here of what I mean. Imagine a
Visual Studio has a certain feature that makes debugging unhandled exceptions a lot easier:
Here is an example of one of the headaches I mean: We have a
I'm feeling the topic isn't the best one, but here goes. I've made a
One aspect of javascript that it's hard to find information on is casing practices.
I was wondering which is the best way (the one suggested by Apple guidelines
I'm not sure if the question title is the best one but it was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.