init-random-state: factor out function taking seed argument
authorDaniel Kochmański <daniel@turtleware.eu>
Sun, 20 Sep 2015 16:34:15 +0000 (18:34 +0200)
committerDaniel Kochmański <daniel@turtleware.eu>
Sun, 20 Sep 2015 16:37:18 +0000 (18:37 +0200)
commitfc7443732b5082262e66fc089f774f96082f40a1
tree47da219f622ed71bee622bd93e6b505220dde177
parent079976263ce8094446e938f6b90c8edeb23c1a6d
init-random-state: factor out function taking seed argument

We want this to be able to initialize random state from the fixnum and
from the array (following commits). This also simplifies code a
little.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
src/c/num_rand.d