mpeg2v: seed_sweep derives its seeds without overflowing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a2f6ba8b44
commit
fb824c6fb0
|
|
@ -758,7 +758,7 @@ fn seed_sweep() {
|
||||||
];
|
];
|
||||||
for seed in 1..=8u64 {
|
for seed in 1..=8u64 {
|
||||||
for c in cfgs {
|
for c in cfgs {
|
||||||
check(Cfg { seed: (seed * 0x9E37_79B9_7F4A_7C15) ^ c.w as u64, ..c });
|
check(Cfg { seed: seed.wrapping_mul(0x9E37_79B9_7F4A_7C15) ^ c.w as u64, ..c });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue