Update benchmarks for Python3 while retaining backwards compatibility with Python2

This commit is contained in:
Ivor Blockley
2017-07-18 15:17:28 +10:00
parent fdc8a372a2
commit 0fa6da74cc
6 changed files with 21 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ def div(a, b):
if a == MIN_INT and b == -1:
return MAX_INT
return a / b
return a // b
def mod(a, b):
if b == 0: