On 23/10/2026 04:52, Collin Funk wrote:
* src/factor.c (mulredc2): Add the carry to p1, which is the high word of a two-word integer created by summing two single-word integers and is therefore unable to overflow, instead of using a low word r0, which may wrap around by adding the carry. * tests/factor/mulredc2-infloop.sh: New file. * tests/local.mk (all_tests): Add the new test. * NEWS: Mention the bug fix.
Nice. The test runs very quickly so the timeout is appropriate.
thanks, Padraig
