From d99cbb23d11254b9fd617abca47ecef5f154b62a Mon Sep 17 00:00:00 2001 From: Firebolt <24422634+Fireboltofdeath@users.noreply.github.com> Date: Sun, 17 Oct 2021 14:51:26 -0400 Subject: [PATCH] Remove tobit usage --- runtime/luau.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/luau.lua b/runtime/luau.lua index 2ddfa5d..89847b6 100644 --- a/runtime/luau.lua +++ b/runtime/luau.lua @@ -34,7 +34,7 @@ local function unsign_i64(x) return x end -local function rip_u64(x) return math.floor(x / 0x100000000), (x % 0x100000000) % 2 ^ 32 end +local function rip_u64(x) return math.floor(x / 0x100000000), x % 0x100000000 end local function merge_u64(hi, lo) return hi * 0x100000000 + lo end