Address windowed pow2 review feedback

This commit is contained in:
Marek Lemańczyk committed 2025-10-20 18:37:29 +02:00
1 parent 481d1010e8
commit da6ea25729
9 files changed
+17 -20

No files matched your search

@@ -985,8 +985,6 @@ public class MersenneDivisorCycles
private static ulong CalculateCycleLengthFallback(ulong divisor)
{
// Otherwise, find order of 2 mod divisor using the shared unrolled-hex stepping sequence.
// Divisors <= 3 hit this fallback, so the lightweight CPU path already matches the windowed pow2 helper
// without paying for a GPU round-trip.
return divisor.CalculateMersenneDivisorCycleLengthUnrolledHexCpu();
}