unused macro MPN_PTR_SWAP in mini-gmp.c

Marco Bodrato bodrato at mail.dm.unipi.it
Sun Mar 20 08:17:36 CET 2022


Ciao Paul,

Il 2022-03-18 00:37 Paul Eggert ha scritto:
> On 3/17/22 11:32, Marco Bodrato wrote:
>> -  MP_SIZE_T_SWAP (u->_mp_alloc, v->_mp_alloc);
>> -  MP_PTR_SWAP (u->_mp_d, v->_mp_d);
>> +  MPN_PTR_SWAP (u->_mp_d, u->_mp_alloc, v->_mp_d, v->_mp_alloc);

> Thank you, this looks good.

Slightly changed and pushed:
https://gmplib.org/repo/gmp/rev/2a0dd4a874f1

Ĝis,
m


More information about the gmp-bugs mailing list