| 40 | uint64_t x = time(0); /* The state must be seeded with a nonzero value. */ |
| 41 | |
| 42 | uint64_t next() |
| 43 | { |
| 44 | x ^= x >> 12; // a |
| 45 | x ^= x << 25; // b |
| 46 | x ^= x >> 27; // c |
| 47 | return x * 2685821657736338717LL; |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Returns the current seed in use by the generator. |
no outgoing calls
no test coverage detected