From 3ac39acd7ad6ee201b023ed8627281eee73ed434 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Tue, 9 Feb 2021 12:27:57 -0500 Subject: [PATCH] Removed bigint comparison metamethods (read below) Use bigint.compare from now on --- libs/bigint/bigint.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libs/bigint/bigint.lua b/libs/bigint/bigint.lua index 643e0b4..81b9081 100644 --- a/libs/bigint/bigint.lua +++ b/libs/bigint/bigint.lua @@ -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