From b16a144f36da770ac5d9500637bb3d630e2daa9c Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 14 Jan 2021 23:20:23 +0000 Subject: add some comments --- python/src/_syncrng.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/src/_syncrng.c') diff --git a/python/src/_syncrng.c b/python/src/_syncrng.c index 9adda99..89ee5b1 100644 --- a/python/src/_syncrng.c +++ b/python/src/_syncrng.c @@ -27,6 +27,7 @@ */ uint32_t lfsr113(uint64_t **state) { + // NOTE: This function *must* be the same as in the R package uint64_t z1, z2, z3, z4; uint64_t b; @@ -72,6 +73,7 @@ uint32_t lfsr113(uint64_t **state) */ void lfsr113_seed(uint32_t seed, uint64_t **state) { + // NOTE: This function *must* be the same as in the R package uint64_t z1 = 2, z2 = 8, z3 = 16, -- cgit v1.2.3