From ceed957b12ff0a1f838245ca9e0fcaca3dcf2b0a Mon Sep 17 00:00:00 2001 From: Rerumu Date: Wed, 18 May 2022 20:57:29 -0400 Subject: [PATCH] Remove unneeded truncation --- codegen-luajit/runtime/runtime.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codegen-luajit/runtime/runtime.lua b/codegen-luajit/runtime/runtime.lua index 3584b32..8415c60 100644 --- a/codegen-luajit/runtime/runtime.lua +++ b/codegen-luajit/runtime/runtime.lua @@ -234,8 +234,8 @@ do trunc.i32_f32 = truncate trunc.i32_f64 = truncate - trunc.u32_f32 = truncate - trunc.u32_f64 = truncate + trunc.u32_f32 = math_floor + trunc.u32_f64 = math_floor trunc.i64_f32 = i64 trunc.i64_f64 = i64 trunc.u64_f32 = i64