How can an integer be read bit by bit?...
Read MoreArithmetic shift-right integers with half rounding toward zero...
Read MoreWhat's the simplest way to reverse the order of bits in a byte in C/C++?...
Read MoreBranchless add or subtract depending on separate sign bit...
Read MoreHow to interleave two uint32_t values into one uint64_t?...
Read MoreHow to efficiently de-interleave bits (inverse Morton)...
Read MoreBits twiddling hack: most efficient way to remove one bit every n bits?...
Read MoreStandard C++11 code equivalent to the PEXT Haswell instruction (and likely to be optimized by compil...
Read MoreWhat's the fastest way to divide an integer by 3?...
Read MoreFastest way to strip trailing zeroes from an unsigned int...
Read MoreWhat's the meaning of "shift operates on bits individually"?...
Read MoreCount 1-bits of an integer as fast as GCC's __builtin__popcount(int)...
Read MoreFastest way to compute log₂(n) where n is of form 2ᵏ?...
Read MoreWhat's the quickest way to compute log2 of an integer in C#?...
Read MoreTemplatized branchless int max/min function...
Read MoreIs -(uintN_t)x or unsigned inverse in other words guaranteed to work in two's complement by the ...
Read MoreBitwise operations: online resources?...
Read MoreWill bit-shift by zero bits work correctly?...
Read MoreSetting all bits before first '1'...
Read MoreHow to efficiently find Bitwise OR of a range of numbers...
Read MoreEfficient (bit-wise) division by 24...
Read MoreMultiply by 27 using only bit shifting, addition and subtraction as few times as possible...
Read MoreSwap first and last 5 bits in a 16-bit number...
Read MoreHow does an arithmetic bit-shift affect a signed integer?...
Read MoreIn C, can the Arithmetic Right Shift 1>>31 result in -1?...
Read MoreHow to turn a 16-bit number in one's complement into it's 7-segment display equivalence?...
Read More