Search code examples
Create a mask that marks the most significant set bit, using only bitwise operators...

cbit-manipulation

Read More
What does 'branching' mean in terms of setting/resetting bits?...

cbit-manipulationbranchless

Read More
Optimize y = x*x in Galois field arithmetic...

ccryptographybit-manipulationlow-level

Read More
What is the correct way to check if bit field is turn on in php...

phpbit-manipulation

Read More
Fast __m256i bit operations - find or clear highest or lowest set bit...

x86bit-manipulationsimdavxavx2

Read More
Set 8th bit if all lower 7 bits are set without branching...

calgorithmbit-manipulationbranchless

Read More
Test if fixed set is equal without branching...

ccomparisonbit-manipulationequalitybranchless

Read More
bit manipulation:print the next smallest and largest numbers with same no of 1 bits...

cbit-manipulation

Read More
Generating prefix bitmasks...

c++cbit-manipulationundefined-behaviorbranchless

Read More
Branchless way to set all bits if no bits are set?...

cbit-manipulationbranchless

Read More
Transform random integers into range [min,max] without branching...

c++bit-manipulationsimdavx2branchless

Read More
XOR conditionally without branching if the lowest bit is set...

c++cbit-manipulationbranchless

Read More
what is the fastest way to count the number of matching digits in base 4?...

calgorithmoptimizationintegerbit-manipulation

Read More
Find the number of special subarray such that the bitwise XOR of first and last element is equal to ...

pythonalgorithmbit-manipulationxor

Read More
How to check redundant value using Bitwise AND and bitwise NOT Operator?...

cbit-manipulationbitwise-operators

Read More
Implement division with bit-wise operator...

bit-manipulationbit

Read More
How do I create a sliding window of 5 bits in a single byte?...

cbit-manipulationbytebit-shiftsliding-window

Read More
0 < res <= (1 << 31) -1 - What does this mean?...

bit-manipulation

Read More
Java: Are bitwise OR and AND FASTER than the equivalent logical operators?...

javabit-manipulation

Read More
How does the formula x & (x - 1) works?...

mathassemblybinarybit-manipulationarithmetic-expressions

Read More
How can I remove a bit flag in PHP int?...

phpbit-manipulationflags

Read More
How to bit shift left or right based on sign of int?...

cbit-manipulationbit-shift

Read More
bitwise shift output a wrong result...

pythonbit-manipulationshift

Read More
Perl to set/reset 8th bit on string...

stringperlbit-manipulation

Read More
How can I perform a branchless conditional arithmetic operation in C?...

cbit-manipulationmicro-optimizationtwos-complementbranchless

Read More
Portable efficient alternative to PDEP without using BMI2?...

algorithmassemblyx86bit-manipulationbmi

Read More
reversing byte order in c...

cmemorybit-manipulationbyte

Read More
Efficient Algorithm for Bit Reversal (from MSB->LSB to LSB->MSB) in C...

calgorithmbit-manipulation

Read More
Count number of bits in a 64-bit (long, big) integer?...

c#64-bitbit-manipulation

Read More
Extracting the Last N Bits from an Array of Bytes in C...

arrayscbinarybit-manipulationbitwise-operators

Read More
BackNext