Removed bigint comparison metamethods (read below)

Use bigint.compare from now on
pull/16/head
Ishaan Bhardwaj 2021-02-09 12:27:57 -05:00
parent d0505251b3
commit 3ac39acd7a
1 changed files with 0 additions and 9 deletions

View File

@ -55,15 +55,6 @@ function bigint.new(num)
__pow = function(lhs, rhs)
return bigint.exponentiate(lhs, rhs)
end,
__eq = function(lhs, rhs)
return bigint.compare(lhs, rhs, "==")
end,
__lt = function(lhs, rhs)
return bigint.compare(lhs, rhs, "<")
end,
__le = function(lhs, rhs)
return bigint.compare(lhs, rhs, "<=")
end,
__tostring = function()
return bigint.unserialize(self, "s")
end