]> git.ipfire.org Git - thirdparty/coreutils.git/commit
factor: use primes_diff more consistently
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Jun 2025 07:59:44 +0000 (00:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jul 2025 00:12:39 +0000 (17:12 -0700)
commitf7d295d941bbc7c69c6b0a6b8f46a58080af1127
treea213140357e1deb800b6de75419d64ea9e4b4f88
parent748d03ca129baca82d300d35fb6eedc301a6d332
factor: use primes_diff more consistently

* src/factor.c (mp_factor_using_division): Use index into
primes_diff consistently with other uses.  This is mostly just a
style change, and likely doesn’t change the generated machine code.
src/factor.c