]> git.ipfire.org Git - thirdparty/coreutils.git/commit
factor: Pollard-rho a is now mp_limb_t
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Jul 2025 16:34:00 +0000 (09:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jul 2025 00:12:40 +0000 (17:12 -0700)
commit2ba421644138e43a8eb31513f8ea441696bc4b64
treec6930c9920e5606507706d997eed220c77034745
parentd4cff387764a4e1c2d59e22219fb99f7a03b243f
factor: Pollard-rho a is now mp_limb_t

* src/factor.c (factor_using_pollard_rho)
(factor_using_pollard_rho2): Use mp_limb_t, not unsigned long int,
for a parameter.  This avoids some casts, and avoids a theoretical
bug where converting to mp_limb_t loses info.
src/factor.c