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_uint64_4.ml.html

Source file num_uint64_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_uint64_2

type digits = digits_four
type word = word_64

let digits = 4
let rotations_0 = Rotations.make
    ~to_num:of_int
    14
    52
    23
    5
    25
    46
    58
    32

let rotations_1 = Rotations.make
    ~to_num:of_int
    16
    57
    40
    37
    33
    12
    22
    32
OCaml

Innovation. Community. Security.