Update for latest version of v0.7

This commit is contained in:
Jutho Haegeman 2017-12-08 00:52:21 +01:00
parent 9350aae469
commit b734fe001f
4 changed files with 19 additions and 14 deletions

View file

@ -1,14 +1,6 @@
using Primes.isprime
import Base.divgcd
if VERSION <= v"0.7.0-DEV.262"
include("mpz.jl")
using .MPZ
else
using Base.GMP.MPZ
end
const primetable = [2,3,5]
const factortable = [UInt8[], UInt8[1], UInt8[0,1], UInt8[2], UInt8[0,0,1]]
const factorialtable = [UInt32[], UInt32[], UInt32[1], UInt32[1,1], UInt32[3,1], UInt32[3,1,1]]