Purely mathematically, you cannot assert that a certain value will appear in a certain timeframe - it's random!
Almost all crypto operates in the realm of absurdly close to certain.
This is the standard method for selecting a uniform range from a source that is not an exact multiple. The worst-case probability of having to draw again can always be kept under 0.5. For example, I want a number in the range of (0 <= n < 129).