Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Sig.Basicint bound returns a random integer between 0 (inclusive) and bound (exclusive). bound must be greater than 0 and less than 230.
int32 bound returns a random integer between 0 (inclusive) and bound (exclusive). bound must be greater than 0.
val nativeint : Nativeint.t -> Nativeint.tnativeint bound returns a random integer between 0 (inclusive) and bound (exclusive). bound must be greater than 0.
int64 bound returns a random integer between 0 (inclusive) and bound (exclusive). bound must be greater than 0.
float bound returns a random floating-point number between 0 and bound (inclusive). If bound is negative, the result is negative or zero. If bound is 0, the result is 0.