Minor cleanups to the core library
This commit is contained in:
1 parent
3e0fd63682
commit
5023313c03
7 files changed
+43
-86
No files matched your search
@@ -1163,7 +1163,7 @@ internal_int_prime_next_prime :: proc(a: ^Int, trials: int, bbs_style: bool, all
|
||||
|
||||
/*
|
||||
If we didn't pass the sieve and step == MP_MAX then skip test */
|
||||
if (y && (step >= ((1 << _DIGIT_BITS) - kstep))) { continue }
|
||||
if y && (step >= ((1 << _DIGIT_BITS) - kstep)) { continue }
|
||||
|
||||
if internal_int_is_prime(a, trials) or_return { break }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user