mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Minor cleanups to the core library
This commit is contained in:
@@ -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