Category talk:Wren-big: Difference between revisions

Content added Content deleted
m (→‎Source code: Removed some surplus whitespace.)
m (→‎Source code: Consistency change.)
Line 1,337: Line 1,337:
static pollardRho_(m, seed, c) {
static pollardRho_(m, seed, c) {
var g = Fn.new { |x| (x*x + c) % m }
var g = Fn.new { |x| (x*x + c) % m }
var x = BigInt.two
var x = BigInt.new(seed)
var y = BigInt.new(seed)
var y = BigInt.new(seed)
var z = BigInt.one
var z = BigInt.one