Category talk:Wren-i64: Difference between revisions
m
→Source code (Wren): Minor bug fix.
(→Source code (Wren): Removed the previous limitation on the U64.isPrime method.) |
m (→Source code (Wren): Minor bug fix.) |
||
Line 659:
static nextPrime(x) {
if (!(x is U64)) x = from(x)
if (x < two) return two
var n = x.isEven ? x + one : x + two
while (true) {
|