4 ms·
Do we know if the Seed function is now noop or does it set the seed value like previous? I don't think people would use the "global" random functions for deter
by spoiler 4y ago
Do we know if the Seed function is now noop or does it set the seed value like previous?
I don't think people would use the "global" random functions for deterministic randomness. At least I hope they didn't...
- tapirl 4y agoIt does set the seed value like previous. The docs says calling Seed(1) forces the old behavior. https://pkg.go.dev/math/rand#Seed https://pkg.go.dev/math/rand#Seed