If you search using https://www.bing.com/search?q=VBMath+Rnd+Clone, you will probably find a sample class which pretends to be an exact replacement. To check this, call Randomize with the same parameters in both cases, then check if the generated pseudo-random sequences are the same.
What is the RNG algorithm for VBMath.Rnd
Ken Jutz
1
Reputation point
What is the random number generator algorithm used for VBMath.Rnd? Is it utilizing System.Random?
2 answers
Sort by: Most helpful
-
-
Dylan Zhu-MSFT 6,421 Reputation points
2020-09-22T10:23:42.253+00:00 Hi KenJutz,
Maybe you could refer to the files: VBMath.cs and System.Random in .NET framework. The types of parameters and return values are different. Although, their implementation may have some same points, it seems that VBMath.Rnd doesn't utilize System.Random.
Best Regards,
Dylan