Localize truncation

This commit is contained in:
Rerumu 2022-06-25 22:52:22 -04:00
parent efc5c9354f
commit c19430548b

View File

@ -348,9 +348,9 @@ do
function trunc.f32(num) function trunc.f32(num)
if num >= 0 then if num >= 0 then
return math.floor(num) return math_floor(num)
else else
return math.ceil(num) return math_ceil(num)
end end
end end