def bits32.popcount
import bend-osdev-algo@0.1.0.0/algo.bend as Algoimport Base
143def bits32.popcount(x: U32) -> Nat:
144 bitw.popcount(32n, bits32.word(x))
import bend-osdev-algo@0.1.0.0/algo.bend as Algoimport Base
143def bits32.popcount(x: U32) -> Nat:
144 bitw.popcount(32n, bits32.word(x))