Module type Sig.Basic
val int : int -> int
int bound
returns a random integer between 0 (inclusive) andbound
(exclusive).bound
must be greater than 0 and less than 230.
val int32 : Stdlib.Int32.t -> Stdlib.Int32.t
int32 bound
returns a random integer between 0 (inclusive) andbound
(exclusive).bound
must be greater than 0.
val nativeint : Stdlib.Nativeint.t -> Stdlib.Nativeint.t
nativeint bound
returns a random integer between 0 (inclusive) andbound
(exclusive).bound
must be greater than 0.
val int64 : Stdlib.Int64.t -> Stdlib.Int64.t
int64 bound
returns a random integer between 0 (inclusive) andbound
(exclusive).bound
must be greater than 0.