]> git.ipfire.org Git - thirdparty/coreutils.git/commit
factor: prefer uuint to two words in a couple of places
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Jun 2025 23:28:47 +0000 (16:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jul 2025 00:12:39 +0000 (17:12 -0700)
commit0a5d071967059a158ec85e81fc05879ad5dbfd74
tree82f44504ca81cd17a96ad203304dfc994cdfb0ce
parent59421d373beb89d6035146700898424a7e1506ba
factor: prefer uuint to two words in a couple of places

This simplifies things slightly by using uuint for
some two-word integers.
* src/factor.c (strtouuint): Accept uuint *, not two mp_limb_t *.
All callers changed.
(print_factors_single): Accept uuint, not two limbs.
All callers changed.
(print_factors): Use simpler test for high bit,
one that need not worry about promoting to int.
src/factor.c