mul_fft, cleaning up some details of the code

Marco Bodrato bodrato at mail.dm.unipi.it
Tue Mar 8 22:37:45 CET 2022


Ciao Paul,

Il 2022-03-08 16:20 Paul Zimmermann ha scritto:
>> Uhm, the last line of code just before that ones is:
>> 
>>    cc = mpn_sub_1 (r, r, m, cc) + 1;
>>    /* add 1 to cc instead of rd since rd might overflow */

> it seems you are right!

Well, I pushed a clean-up for that portion of the code too...

https://gmplib.org/repo/gmp/rev/84893dca3e6c

Ĝis,
m


More information about the gmp-devel mailing list