fn limitRangeBiased(comptime T: type, random_int: T, less_than: T) T
[src]
Convert a random integer 0 <= random_int <= maxValue(T), into an integer 0 <= result < less_than. This function introduces a minor bias.
fn limitRangeBiased(comptime T: type, random_int: T, less_than: T) T
Convert a random integer 0 <= random_int <= maxValue(T), into an integer 0 <= result < less_than. This function introduces a minor bias.