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
29
30
31
32
33
34
35
36
37
38
39
use *;
/// Computes a fast pseudo-random `u64` in `[0, u64::MAX]` via SplitMix64.
///
/// # Arguments
///
/// - `u64` - Input seed word.
///
/// # Returns
///
/// - `u64` - Mixed pseudo-random word.
pub
/// Computes a pseudo-random integer uniformly in `0..=max_inclusive`.
///
/// # Arguments
///
/// - `u64` - Random entropy word.
/// - `u64` - Inclusive upper bound.
///
/// # Returns
///
/// - `u64` - Random value in `0..=max_inclusive`.
pub