Change #238842
Category | gcoreutils |
Changed by | Paul Eggert <eggert | @cs.ucla.edu>
Changed at | Thu 10 Jul 2025 02:12:39 |
Repository | git://git.savannah.gnu.org/coreutils.git |
Project | gcoreutils |
Branch | master |
Revision | 30b7851cdf97503a572b7e9a1ab3938f67df81e8 |
Comments
factor: always use Baillie-PSW * src/factor.c (USE_BAILLIE_PSW): New constant. (prime_p, prime2_p): Use it, i.e., always use Baillie-PSW. Do so by using mp_prime_p. Do not tell GCC these functions are pure; the pure mark was present only to pacify GCC and is no longer needed now that thes functions call mp_prime_p.
Changed files
- src/factor.c