Extract by-divisor scanner into shared tester

This commit is contained in:
Marek Lemańczyk committed 2025-09-29 20:49:01 +02:00
1 parent e9270d16f3
commit 1ba04047c1
5 files changed
+871 -622

No files matched your search

@@ -18,6 +18,8 @@ public interface IMersenneNumberDivisorByDivisorTester
IDivisorScanSession CreateDivisorSession();
void PrepareCandidates(ReadOnlySpan<ulong> primes, Span<ulong> allowedMaxValues);
public interface IDivisorScanSession : IDisposable
{
void CheckDivisor(ulong divisor, ulong divisorCycle, ReadOnlySpan<ulong> primes, Span<byte> hits);