Small old bug in mpz_powm
Niels Möller
nisse at lysator.liu.se
Sun Dec 8 21:27:19 UTC 2019
Marco Bodrato <bodrato at mail.dm.unipi.it> writes:
> Il 2019-12-08 21:21 tg at gmplib.org ha scritto:
>
>> I think we should improve the testing code to trigger this bug!
>
> I wrote a single test with fixed parameters, maybe we should better
> add some randomness..
Do any of the existing randomized tests for mpz_powm ever test e == 1?
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-devel
mailing list