]> git.ipfire.org Git - thirdparty/coreutils.git/commit
factor: port to --without-libgmp
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Jul 2020 01:45:06 +0000 (18:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Jul 2020 01:46:35 +0000 (18:46 -0700)
commit9462c1202d91e007d634e9f8e60da7ed2c71e328
tree6f78f33ffe1a1cf2fc688237541e75d88c36756b
parent6b6f0f54c0eca06345b7741e5fd37b4500675286
factor: port to --without-libgmp

* src/factor.c (mp_factor_using_division): Use mpz_fdiv_q_2exp
instead of its no-longer-documented mpz_div_2exp alias.
(print_factors): Use mpz_out_str instead of gmp_printf.
src/factor.c