
21 Mar
2025
21 Mar
'25
5:18 p.m.
karl3@writeme.com wrote:
on line 2882 of gmp-impl.h in the feb 3 2025 development source of libgmp, lies an implementation of limb incrementation with nails.
karl3@writeme.com wrote: there is an unspoken constraint on this code. the incrementation must not exceed NUMB_MAX. if it does, invali-- but it looks like this function is mostly used for carries, constants equal to 1, and as part of pseudorandom number generation
GMP_NUMB_MAX must be the maximum value for numbers in libgmp. This may be wh--