What random number generator is the best/fastest or do you use?

Note also that there is a vast body of literature on the generation of random numbers. One name in particular is useful: George Marsaglia. Google for his name and you ought to get a fair amount of publications to chew on :slight_smile:
That said, the random number generators in most Fortran compilers are doing a decent enough job, unless you want really large numbers of random numbers or have cryptographic needs.
But in all such matters: there is no best generator, certainly not if you do not specify what your requirements are.

4 Likes