Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RandomPCG::random(int, int) overflow bug
- Use int64_t for subtraction before converting to uint32_t - Don't add one to uint32_t max value for rand() bounds
- Loading branch information