Localize truncation
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user