Category talk:Wren-long: Difference between revisions
Content added Content deleted
(→64-bit integer arithmetic: Revised preamble following introduction of Long class.) |
(Bug fix.) |
||
Line 229: | Line 229: | ||
var next = false |
var next = false |
||
while (d != 0) { |
while (d != 0) { |
||
x = x. |
x = x.modMul(x, n) |
||
if (x.isOne) return false |
if (x.isOne) return false |
||
if (x == nPrev) { |
if (x == nPrev) { |