Yeah, but the argument is passed by value. I'm not sure about the 8 byte types (which would require a double call), but for every other type, `return popcnt(cast(uint)value)` should yield the correct result?

I mean, the function is *built* into the compiler. If a library function can do better, there's something wrong...