Problem with gmp_randinit_set

Niels Möller nisse at lysator.liu.se
Sat Feb 18 07:24:31 UTC 2017


Pedro Gimeno <gmpdiscuss at formauri.es> writes:

> Yes. Only seeds up to 2^19937-20028 inclusive are guaranteed to
> generate different sequences, though, and with the new seeding
> function, only up to 2^19936-1.

Does the current seeding conform to some informal standard? Do we want
to generate same sequences as other mersenne twister implementations, or
is it only an issue of whether or not we want to change seeding and
generate different sequences than earlier GMP versions?

> I though you can't ever have limbs less than 16 bits. Are any of these in use?

I think we can use even smaller limbs for testing purposes, with
mp_limb_t defined as some magic C++ type.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list