Thank you, I have corrected this on the git

On 2/19/19 1:46 AM, Chris Hiszpanski wrote:
> Hello,
>
> Noticed a comment in rng/taus113.c is inaccurate -- z_1 is computed from z_0, 
> not the other way around. Patch is provided below.
>
> Chris
>
> diff --git a/rng/taus113.c b/rng/taus113.c
> index 04da6a89..a46248bc 100644
> --- a/rng/taus113.c
> +++ b/rng/taus113.c
> @@ -39,7 +39,7 @@
>      work on architectures where integers are 64-bit.
>
>      The generator is initialized with
> -   zi = (69069 * z{i+1}) MOD 2^32 where z0 is the seed provided
> +   z{i+1} = (69069 * z{i}) MOD 2^32 where z0 is the seed provided
>      During initialization a check is done to make sure that the initial seeds
>      have a required number of their most significant bits set.
>      After this, the state is passed through the RNG 10 times to ensure the


Reply via email to