Torbjörn Granlund wrote, On 2017-02-15 03:40:
> Pedro Gimeno writes:
>
> One possible fix would be to resurrect my patch for a different
> seeding routine, which was based on the xxtea encryption
> [...]
>
> I like the idea of applying a symmetric cipher for PRNG; I have in fact
> done
Pedro Gimeno writes:
Ah, yes, that was a problem that needed to be avoided. Thanks for
looking into this.
One possible fix would be to resurrect my patch for a different
seeding routine, which was based on the xxtea encryption
algorithm. That one is faster and uses far less mpz code,
Torbjörn Granlund wrote, On 2017-02-15 00:45:
> Pedro Gimeno writes:
>
> Torbjörn Granlund wrote, On 2017-02-14 01:41:
>
> > One can change Mersenne_Twister_Generator_Noseed to
> > Mersenne_Twister_Generator to fix this (and move __gmp_randiset_mt to
> > randmts.c as mandated by Mersen
Pedro Gimeno writes:
Torbjörn Granlund wrote, On 2017-02-14 01:41:
> One can change Mersenne_Twister_Generator_Noseed to
> Mersenne_Twister_Generator to fix this (and move __gmp_randiset_mt to
> randmts.c as mandated by Mersenne_Twister_Generator's scope), and then
> your code suppos
Torbjörn Granlund wrote, On 2017-02-14 01:41:
> One can change Mersenne_Twister_Generator_Noseed to
> Mersenne_Twister_Generator to fix this (and move __gmp_randiset_mt to
> randmts.c as mandated by Mersenne_Twister_Generator's scope), and then
> your code supposedly runs without a crash. But I d