3 * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
4 * or any later version. For details on its copyright, license, and warranties,
5 * see the file NOTICE in the root directory of the PlomRogue source package.
7 * Provides deterministic pseudo-randomness.
13 #include <stdint.h> /* uint16_t */
17 /* Return 16-bit number pseudo-randomly generated via Linear Congruential
18 * Generator algorithm with some proven constants. Use instead of rand() to
19 * ensure portability of the same pseudo-randomness across systems.
21 extern uint16_t rrand();