Remove signedness test for unsigned constructor

This commit is contained in:
Rerumu 2022-05-18 19:19:38 -04:00
parent 2a6033c6f4
commit 30358c8205

View File

@ -36,11 +36,7 @@ function Numeric.into_u32(data)
end
function Numeric.from_u64(value)
if value < 0 then
return num_negate(from_u64(-value))
else
return from_u32(bit_and(value), math_floor(value / BIT_SET_32))
end
return from_u32(bit_and(value), math_floor(value / BIT_SET_32))
end
function Numeric.into_u64(value)