Bitcoin ABC 0.30.7
P2P Digital Currency
|
#include <config/bitcoin-config.h>
#include <cstdint>
Go to the source code of this file.
Functions | |
uint32_t | countBits (uint32_t v) |
|
inline |
Computes the number of bits set in each group of 8bits then uses a multiplication to sum all of them in the 8 most significant bits and return these. More detailed explanation can be found at https://www.playingwithpointers.com/blog/swar.html
Definition at line 12 of file bitmanip.h.