Module Splittable_random.Log_uniformSource
Produce a random number in the given inclusive range, where the number of bits in the representation is chosen uniformly based on the given range, and then the value is chosen uniformly within the range restricted to the chosen bit width. Raises if lo < 0 || hi < lo.
These functions are useful for choosing numbers that are weighted low within a given range.
Source
val nativeint :
Splittable_random.t ->
lo:Base.nativeint ->
hi:Base.nativeint ->
Base.nativeint