diff options
Diffstat (limited to 'rand.c')
-rw-r--r-- | rand.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -241,6 +241,11 @@ invalid: modulus, nao); } +val rand(val modulus, val state) +{ + return random(state, modulus); +} + void rand_init(void) { prot1(&random_state); |