Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: rigorously predictable random numbers
On Mon, May 20, 2024 at 9:14 PM Kannan Varadhan <kvaradhan3@xxxxxxxxx> wrote:
>
> ok but the loop seems to read 4, then 3, 2, and 1B in each
> iteration, or did I miss something?
You can add something like 'print reading' in that loop to see how
many times sysread is invoked.
> i dont have an alternate implementation. I was trying to use '#bytes[1]' directly and that did not work.
That's "why" then.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author