emacs-devel
[Top][All Lists]
Advanced

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

Re: exposing seed_random to lisp?


From: Paul Eggert
Subject: Re: exposing seed_random to lisp?
Date: Wed, 16 Mar 2011 19:22:16 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7

On 03/16/2011 07:17 PM, Stefan Monnier wrote:
I don't see why not.

I see one gotcha: a seed that is an Emacs fixnum
typically does not contain enough entropy to cover
all the possible seeds that seed_random can accept.
One possible workaround is to have the seed be a list
of fixnums rather than just a single fixnum.



reply via email to

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