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
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to