Localize truncation
This commit is contained in:
parent
efc5c9354f
commit
c19430548b
@ -348,9 +348,9 @@ do
|
||||
|
||||
function trunc.f32(num)
|
||||
if num >= 0 then
|
||||
return math.floor(num)
|
||||
return math_floor(num)
|
||||
else
|
||||
return math.ceil(num)
|
||||
return math_ceil(num)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user