diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2021-01-14 23:20:23 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2021-01-14 23:20:23 +0000 |
| commit | b16a144f36da770ac5d9500637bb3d630e2daa9c (patch) | |
| tree | 6c56555840857011912cbb9f98823228a32515fb /python/src/_syncrng.c | |
| parent | Only run python deploy on tagged commits (diff) | |
| download | SyncRNG-b16a144f36da770ac5d9500637bb3d630e2daa9c.tar.gz SyncRNG-b16a144f36da770ac5d9500637bb3d630e2daa9c.zip | |
add some comments
Diffstat (limited to 'python/src/_syncrng.c')
| -rw-r--r-- | python/src/_syncrng.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |
