package feat-core

  1. Overview
  2. Docs
val bits : unit -> int

bits s returns 30 random bits in a nonnegative integer.

val int : int -> int

int bound returns a random integer comprised between 0 (inclusive) and bound (exclusive). bound must be greater than 0 and less than 230.

OCaml

Innovation. Community. Security.