… | … | ||
---|---|---|---|
37 | 37 | ||
38 | #include <glib.h> | 38 | #include <glib.h> |
39 | 39 | ||
40 | refcnt_base::refcnt_t refcnt_dummy; | 40 | refcnt_base::refcnt_t refcnt_dummy; |
41 | ssize_t slice_alloc; | 41 | ssize_t slice_alloc; |
42 | rand_gen rndm; | 42 | rand_gen rndm, rmg_rndm; |
43 | 43 | ||
44 | void | 44 | void |
45 | tausworthe_random_generator::seed (uint32_t seed) | 45 | tausworthe_random_generator::seed (uint32_t seed) |
46 | { | 46 | { |
47 | state [0] = seed * 69069U; if (state [0] < 2U) state [0] += 2U; | 47 | state [0] = seed * 69069U; if (state [0] < 2U) state [0] += 2U; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |