             mods.removeAll()
             self.startMeasuring()
             for divisor in divisors {
-                let (div, mod) = fact.divide(divisor)
+                let (div, mod) = fact.divided(by: divisor)
                 divs.append(div)
                 mods.append(mod)
             }

    }

    func testSquareRoot() {
        var numbers: [BigUInt] = (1...1000).map { _ in BigUInt.randomIntegerWithMaximumWidth(60 * sizeof(Digit) * 8) }
        var roots: [BigUInt] = []
        self.measure {
            roots.removeAll()

        self.measure {
            fact = BigUInt(1)
            for i in 1...n {
                fact.multiply(byDigit: Digit(i))
            }
        }
        checkFactorial(fact: fact, n: n)
