Remove proxy function and multiple return

This commit is contained in:
Rerumu 2022-06-30 01:47:35 -04:00
parent 6e0debe287
commit d775739581

View File

@ -111,7 +111,7 @@ do
elseif rhs ~= rhs then elseif rhs ~= rhs then
return rhs return rhs
else else
return math_min(lhs, rhs) return (math_min(lhs, rhs))
end end
end end
@ -121,7 +121,7 @@ do
elseif rhs ~= rhs then elseif rhs ~= rhs then
return rhs return rhs
else else
return math_max(lhs, rhs) return (math_max(lhs, rhs))
end end
end end
@ -398,9 +398,7 @@ do
return (to_number(u32(num))) return (to_number(u32(num)))
end end
function convert.f32_i64(num) convert.f32_i64 = to_number
return (to_number(num))
end
function convert.f32_u64(num) function convert.f32_u64(num)
return (to_number(u64(num))) return (to_number(u64(num)))
@ -414,9 +412,7 @@ do
return (to_number(u32(num))) return (to_number(u32(num)))
end end
function convert.f64_i64(num) convert.f64_i64 = to_number
return (to_number(num))
end
function convert.f64_u64(num) function convert.f64_u64(num)
return (to_number(u64(num))) return (to_number(u64(num)))