Closed Alexhuszagh closed 3 years ago
Currently, test_random uses the following code for generating the number of iterations:
test_random
const N_ITER: usize = 1 << 32;
This overflows if usize has 32-bits or less.
usize
A trivial fix is:
const N_ITER: u64 = 1 << 32;
Currently,
test_random
uses the following code for generating the number of iterations:This overflows if
usize
has 32-bits or less.A trivial fix is: