Change #238851
Category | gcoreutils |
Changed by | Paul Eggert <eggert | @cs.ucla.edu>
Changed at | Thu 10 Jul 2025 02:12:40 |
Repository | git://git.savannah.gnu.org/coreutils.git |
Project | gcoreutils |
Branch | master |
Revision | 86bddb0d537442c7c7becad21e9ea320cd4f995b |
Comments
factor: define SQUARE_OF_FIRST_OMITTED_PRIME * src/make-prime-list.c (output_primes): Output SQUARE_OF_FIRST_OMITTED_PRIME, not FIRST_OMITTED_PRIME. All uses changed. This way, the uses don’t need to worry about casts to avoid overflow.
Changed files
- src/factor.c
- src/make-prime-list.c