what the hell was I thinking when I wrote this

This commit is contained in:
2025-05-31 22:06:48 -07:00
parent 96312e3adf
commit 95d4b6eb37

View File

@ -191,7 +191,8 @@ end
function ones(n)
local ret = 0
while n != 0 do
ret += 1
if (n&0x0.0001) ret += 1
n >>= 1
end
return ret
end