Why not use the PRNG that comes in the standard library?
Historically, the random number generators provided in most languages have been lousy. In many Fortran implementations, the RANDU function was provided as the standard PRNG. This generator has been extensively studied and found to be horrible. Not all generators are this bad, but many are less than ideal. In addition, once you have coded a particular generator into your program, it’s probably not going to be easy to change. If the program has problems, you won’t be able to tell if the problem is the generator or your code.