poundB property Null safety
final
Implementation
static final NormalOperation poundB = NormalOperation.intOnly(
intCalc: (Model m) {
int count = 0;
BigInt v = m.x.internal;
while (v > BigInt.zero) {
if ((v & BigInt.one) != BigInt.zero) {
count++;
}
v = v >> 1;
}
m.resultX = Value.fromInternal(BigInt.from(count));
},
name: '#B');