package make-random

  1. Overview
  2. Docs
type state
include State30 with type state := state
val bits : state -> int

Provide 30 random bits in an integer.

include Init64 with type state := state
val new_state : unit -> state
val assign : state -> state -> unit
val init_size : int
val init : state -> int64 array -> unit

Same as Init30.init except receives an array of int64 where all the bits are random.

val default_seed : int