Link: Add support for fillRandom with bounds by mppf · Pull Request #19540 · chapel-lang/chapel · GitHub
Merge pull request #19540 from mppf/pcg-fillrandom-min-max
Add support for fillRandom with bounds
- adds PCGRandomStream.fillRandom with min, max arguments for the bounds
- adds PCGRandomStream.iterate with min, max arguments for the bounds
proc shuffleto use
randlc_boundedhas more complex calling
requirements (namely the position must be passed). There isn't a good
reason for it to track the position at all in this code so this is a
simplification and one that it is easier to write correctly.
Reviewed by @lydia-duncan - thanks!
[x] full local testing