]> git.ipfire.org Git - thirdparty/coreutils.git/commit
factor: remove wide_int
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Jun 2025 22:51:26 +0000 (15:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jul 2025 00:12:39 +0000 (17:12 -0700)
commit88cca5d5fca6e49654f88013018a7e29785b206e
treee32cb88cb22603fe0d9be327e0763b4ffde9983e
parent397d9b02a3b163d90314bbc0d238a792bdccd8af
factor: remove wide_int

* src/factor.c (wide_int): Remove, since it gets in the
way of using mp_limb_t for words.  All uses removed.
(submod2, HIGHBIT_TO_MASK, divexact_21):
Rewrite without using wide_int.
This shouldn't change the machine code these days,
as compilers are pretty smart about isolating the
top bit of an unsigned int.
src/factor.c