mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 07:27:53 +00:00
factor: omit incorrect affirms in mulredc2
* src/factor.c (mulredc2): Remove two ‘affirm’ calls that didn’t match the accompanying comment, and one of which has a false positive if UINTMAX_WIDTH == 128 and we factor 2**128 + 1.
This commit is contained in:
parent
4ebc75a36f
commit
4274ff6eee
@ -975,8 +975,6 @@ mulredc2 (uintmax_t *r1p,
|
||||
uintmax_t r1, r0, q, p1, t1, t0, s1, s0;
|
||||
MAYBE_UNUSED uintmax_t p0;
|
||||
mi = -mi;
|
||||
affirm ((a1 >> (W_TYPE_SIZE - 1)) == 0);
|
||||
affirm ((b1 >> (W_TYPE_SIZE - 1)) == 0);
|
||||
affirm ((m1 >> (W_TYPE_SIZE - 1)) == 0);
|
||||
|
||||
/* First compute a0 * <b1, b0> B^{-1}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user