Uniform in [0, upperBound) for the reference's usize instantiation:
a number in [1, 2^53 - 1], drawn as the 64-bit sampler draws (one
full nextU64() per attempt, 64×64 rejection arithmetic) — not as the
32-bit samplers do, which consume the generator differently. For sizes
above 2^53 - 1 use nextWithUpperBoundU64.
Uniform in
[0, upperBound)for the reference'susizeinstantiation: anumberin[1, 2^53 - 1], drawn as the 64-bit sampler draws (one fullnextU64()per attempt, 64×64 rejection arithmetic) — not as the 32-bit samplers do, which consume the generator differently. For sizes above2^53 - 1use nextWithUpperBoundU64.