Just a couple general questions I haven't been able to find answers to, and maybe someone with a little more knowledge can help. I haven't used Java in years and can't quite find an answer in the docs. I apologize if it's in there and I just happen to be blind. I did find some answers/discussion on SO to a question that come close to the subject but they didn't quite get there.
Linear congruential generator gives wrong output
I've been asked to evaluate a program that uses Java SplittableRandom class to generate random numbers. Previous versions of the program used the Java Random class.
I'm looking for the multiplier, increment and the power of 2 used for the SplittableRandom class.
Wiki on LCG has the old java.util.Random class constants listed as:
multiplier = 25214903917
increment = 11
modulus = 2^48
https://en.wikipedia.org/wiki/Linear_congruential_generator
Anyone know if they are the same for the SplittableRandom class? Or is SplittableRandom included in that page with a different name I'm not understanding? Also, I can't seem to figure out from the library docs if someone can change those constants in the class implementation. I don't know why anyone would unless they found something with a longer period in which case, they should just implement their own. It doesn't appear from the docs that you can customize the constants but again, I can't quite tell.
I apologize if this is the wrong place. If it needs to go somewhere else, I'll delete and post there.