Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the best PRNG to use?

best PRNG
0
Posted

Whats the best PRNG to use?

0

The best PRNG to use depends on the particular problem you are solving. If you are working on a simple computer game, any reasonable random sequence may be good enough. A more complex game or a simulation would need a higher quality sequence. If the results of your program will affect lives or large amounts of money, you probably want very convincing proof of the randomness of the sequence. The length of the sequence you need also plays a role in your selection. If you only need 6 numbers in a sequence, you probably don’t care if the generator repeats after 1000 numbers or 231-1 numbers. However, if your simulation runs for days, and consumes billions of numbers, the generator’s period is much more important.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123