Open nishihatapalmer opened 1 year ago
If we wanted to use a built-in PRNG, then the XOSHIRO** generator looks robust, simple and widely used in other platforms, e.g. in .NET.
https://en.wikipedia.org/wiki/Xorshift
It would ensure that all tests and benchmarks were repeatable no matter what the O/S or c library we linked against.
We rely on being able to repeat tests and benchmarks by setting a random seed. Is the rand() C function guaranteed to produce the same results on all platforms and versions?
We should consider adding simple PRNG to smart to ensure fully deterministic sequences.