Why set zero in zero.c rather than use xor_n

Marc Glisse marc.glisse at inria.fr
Mon Feb 5 15:32:26 UTC 2018


On Mon, 5 Feb 2018, Win C wrote:

> int main()
> {
> int i;
> mp_limb_t *pi = malloc(16);

That's not nearly enough, the code crashes for me.

> $./zeroing
> 73491
> 17651

Try testing xor before zero...

-- 
Marc Glisse


More information about the gmp-devel mailing list