Small old bug in mpz_powm

Marco Bodrato bodrato at mail.dm.unipi.it
Mon Dec 9 09:33:12 UTC 2019


Il 2019-12-08 22:29 tg at gmplib.org ha scritto:
> Marco Bodrato <bodrato at mail.dm.unipi.it> writes:

>   I wrote a single test with fixed parameters, maybe we should better
>   add some randomness..

> Yes, I think we should only add fixed test parameters in very special
> cases.

Ok, randomness added.

I also changed a NORMALIZE to NORMALIZE_NOT_ZERO,
because M-(B%M) can not be zero.

Ĝis,
m

-- 
http://bodrato.it/papers/


More information about the gmp-devel mailing list