Unsigned integer overflow in `toom_eval_pm2.c`

Andrew Teylu andrewvaughanj at gmail.com
Mon Sep 4 09:38:00 CEST 2023


On Sun, Sep 3, 2023 at 11:40 PM <marco.bodrato at tutanota.com> wrote:
> I attach a possible patch.
>

As an outsider, does it make sense to also change instances of "neg"
to be "sign" (if that's the interpretation) for consistency?

For someone who isn't literate in the GMP code, neg vs. sign seems to
be used slightly inconsistently, and (personally) "neg" reads as
"negated" rather than "is negative".


More information about the gmp-bugs mailing list