package randii

  1. Overview
  2. Docs
A pure OCaml port of the Random123 counter based random number generator from DEShaw Research

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
md5=1f8f3a98495497cece0131f11c0297e7
sha512=4377b604e5debe94ba98e980ffdbb92e936306460b7db65eee2d1d5493f0abc12f54982527d49351b8461e3208ac158aed79a932575872956e849a432d058e85

doc/src/randii.cbrn/num_uint32_4.ml.html

Source file num_uint32_4.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
open Types
include Num_uint32_2

type digits = digits_four
type word = word_32

let digits = 4
let rotations_0 = Rotations.make
    ~to_num:of_int
    10
    11
    13
    23
    6
    17
    25
    18

let rotations_1 = Rotations.make
    ~to_num:of_int
    26
    21
    27
    5
    20
    11
    10
    20
OCaml

Innovation. Community. Security.