4 ms·
If you need determinism, and the standard library is deterministic, it seems reasonable to use the standard library.
by jibe 3y ago
If you need determinism, and the standard library is deterministic, it seems reasonable to use the standard library.
- SeanLuke 3y agoEven if its high bits go 1 0 1 0 1 0 1 0 ... ?
- _a_a_a_ 3y agoI would say that's a bug in the RNG, nothing to do with any determinism issue
- adgjlsfhk1 3y agoThe point is that if you document your rng as deterministic, you can't fix any bugs.
- _a_a_a_ 3y agowhy do you believe that? Can you explain why not?
- adgjlsfhk1 3y agobecause those bugfixes will change the random numbers generated
- _a_a_a_ 3y agoThat's fine (if you document it). Repeatability may mean 'repeatability over the same program instance/minor version/major instance'. It's fine if you're clear. But ISWYM too.