[PATCH] mpn/generic/perfsqr: Improve alternate (currently disabled) test.
marco.bodrato at tutanota.com
marco.bodrato at tutanota.com
Mon Feb 16 10:10:26 CET 2026
Ciao,
15 feb 2026, 18:37 da sparks05 at proton.me:
> On Saturday, February 14th, 2026 at 18:10, David Sparks <sparks05 at proton.me> wrote:
>
>> + if (lo & 6 != 0)
>>
>
> This should have been "if ((lo & 6) != 0)", of course.
> Sorry about that.
>
And for the same reason
if (lo & lsbit*3 != 0)
should have been
if ((lo & lsbit*3) != 0)
Am I right?
The idea is interesting, I'll test it.
But I'd not mix it with a campaign to remove parenthesis, some are actually not necessary, but avoid ambiguity for some readers, and avoid warnings for some compilers.
Ĝis,
mb
More information about the gmp-devel
mailing list