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.

Where can I find source code for a good, portable random number generator ?

0
10 Posted

Where can I find source code for a good, portable random number generator ?

0
10

Pascal source codes for the minimal standard random number generator are provided in [8]; you need to select one of the codes that is appropriate for your machine’s architecture. After you have implemented that code, you only need verify the correctness of the implementation, not the randomness. Presented below is a FORTRAN 77 adaptation of one of the Pascal codes that appears in [8]. This code is portable to any machine that has a maximum integer greater than, or equal to, 2**31-1. Thus, this code should run on any 32-bit machine. The code meets all of the requirements of the “minimal standard” as described in [8]. We ran it on all of the systems mentioned in this article. In general, the execution times for running the portable code were 2 to 50 times slower than the random number generator supplied by the vendor. For versions of random number generators that implement the minimal standard on machines with a maximum integer less than 2**31-1, or generators that are more specific to m

Related Questions

What is your question?

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

Experts123