emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s


From: Stefan Monnier
Subject: Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s
Date: Fri, 05 Mar 2021 15:34:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Some people get philosophical about PRNGs, and they might be upset
> about the mere suggestion that 2^N states can be used to generate an
> (N+K)-bit pseudo-random integer...

I haven't even bothered to look at the size of the state of our PRNG, to
tell you the truth.  `random` doesn't try to be
cryptography-quality anyway.

> And then we can get rid of the horror that is cl-random, too, right?

I'll let whoever implements it figure that out.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]