This commit is contained in:
Ishaan Bhardwaj
2021-01-26 13:36:50 -05:00
parent b22f671409
commit 9f570306f5
4 changed files with 69 additions and 27 deletions

View File

@@ -63,6 +63,9 @@ function bigint.new(num)
end,
__le = function(lhs, rhs)
return bigint.compare(lhs, rhs, "<=")
end,
__tostring = function()
return bigint.unserialize(self, "s")
end
})