Gets a random int, r, with the probability P(r) = (base)**r For example, with a probability of 1/2: P(1) = 1/2, P(2) = 1/4, etc.
the probability
Gets a random int, r, with the probability P(r) = (base)**r For example, with a probability of 1/2: P(1) = 1/2, P(2) = 1/4, etc.