Document CPU sieve invariants and cache boolean guards
This commit is contained in:
1 parent
fa6f75c158
commit
f2070a0f64
2 files changed
+19
-21
No files matched your search
@@ -8,6 +8,8 @@ public class PrimeTesterIsPrimeTests
|
||||
{
|
||||
[Theory]
|
||||
[Trait("Category", "Fast")]
|
||||
// EvenPerfectBitScanner never routes these small values, but factoring helpers and residue checks still call into
|
||||
// PrimeTester for sanity probes, so the regression suite keeps the tiny cases alongside large primes/composites.
|
||||
[InlineData(1UL, false)]
|
||||
[InlineData(2UL, true)]
|
||||
[InlineData(3UL, true)]
|
||||
|
||||
Reference in new issue
Block a user