mpn_set_str_bits

Raphael Rieu-Helft raphael.rieu-helft at trust-in-soft.com
Tue Sep 29 10:15:24 UTC 2020


Dear GMP developers,

The attached patch slightly improves the mini-gmp function 
mpn_set_str_bits. The invariants are also a bit clearer (shift is the 
number of occupied bits in rp[rn-1], no more special case for a full limb).

The change was suggested by Paul Zimmermann.

Best,
Raphael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mini-gmp.diff
Type: text/x-patch
Size: 780 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-devel/attachments/20200929/04cbe56e/attachment.bin>


More information about the gmp-devel mailing list