val int32 : (int -> Cstruct.t) -> int32int32 g is r, a random int32 using the generator g.
val int64 : (int -> Cstruct.t) -> int64int64 g is r, a random int64 using the generator g.
val int : ?bound:int -> (int -> Cstruct.t) -> intint ~bound g is r, a random int between inclusive 0 and exclusive bound (defaults to max_int), using the generator g. int raises Invalid_argument if the supplied bound is smaller or equal to 0.
val float : ?bound:float -> (int -> Cstruct.t) -> floatfloat ~bound g is r, a random float between inclusive 0.0 and exclusive bound (defaults to 1.0), using the generator g. float raises Invalid_argument if the supplied bound is smaller or equal to 0.