def bits64.popcount
import bend-osdev-algo@0.1.0.0/algo.bend as Algoimport Base
import bend-osdev-word64@0.1.0.0/word64.bend as W
173def bits64.popcount(a: W.W64) -> Nat:
174 bitw.popcount(64n, bits64.word(a))
import bend-osdev-algo@0.1.0.0/algo.bend as Algoimport Base
import bend-osdev-word64@0.1.0.0/word64.bend as W
173def bits64.popcount(a: W.W64) -> Nat:
174 bitw.popcount(64n, bits64.word(a))