from Hacker News

Random number generator (included) by language

by pantuza on 6/30/21, 7:06 PM with 2 comments

  • by Bostonian on 6/30/21, 7:17 PM

    "State the type of random number generator algorithm used in a language's built-in random number generator. If the language or its immediate libraries don't provide a random number generator, skip this task. If possible, give a link to a wider explanation of the algorithm used."

    Fortran has multiple compilers, and the standard does not prescribe the algorithm for RNG to be used. I imagine the situation is similar for C and C++.