Search code examples
Find all x such that (x & (x+y)) == 0...


algorithmbit-manipulationbitwise-operatorsbitwise-and

Read More
Javascript Tilde & Two's complement ...


javascriptbit-manipulation

Read More
Connect Four Bitboard...


c++bit-manipulation

Read More
bit-wise operation unary ~ (invert)...


pythonbit-manipulation

Read More
Efficiently getting most and least significant bit in javascript...


javascriptbit-manipulation

Read More
is (0.1 + 0.2) == 0.3 true or false?...


cfloating-pointbit-manipulation

Read More
Checking if number is even by looking at the last bit - are there any other "tricks" like ...


c++bit-manipulation

Read More
How to generate an integer that repeats like 100100100…1 in binary with time complexity O(n)?...


pythonoptimizationbit-manipulation

Read More
struct/class bit field packing...


c++bit-manipulation

Read More
How can I test if all bits are set or all bits are not?...


c++cbit-manipulation

Read More
Catch and compute overflow during multiplication of two large integers...


cintegerbit-manipulationmultiplicationinteger-overflow

Read More
In C/C++ what's the simplest way to reverse the order of bits in a byte?...


c++cbit-manipulation

Read More
Bits counting algorithm (Brian Kernighan) in an integer time complexity...


algorithmbit-manipulation

Read More
Extracting the first 3 bits of an uint8...


cbit-manipulation

Read More
Summation of nodes reachable starting from every node present in given DAG with restriction on numbe...


c++algorithmbit-manipulationgraph-theorydirected-acyclic-graphs

Read More
Arithmetic shift-right integers with half rounding toward zero...


algorithmassemblybit-manipulationbit-shiftinteger-arithmetic

Read More
Branchless code that maps zero, negative, and positive to 0, 1, 2...


c++optimizationbit-manipulation

Read More
What situations are there where one might want to use the bitwise XOR operator?...


cbit-manipulationbitwise-operatorsxor

Read More
How can I multiply and divide using only bit shifting and adding?...


cassemblybit-manipulationdivisionmultiplication

Read More
Getting the index of the leftmost active bit in an integer instantly...


c++bit-manipulationbitbuilt-infindfirst

Read More
Checking flag bits java...


javabit-manipulationflags

Read More
C# int to byte[]...


c#.netbit-manipulationnfs

Read More
How can I force bitwise operators to produce unsigned results?...


javascriptbit-manipulationbitwise-operators

Read More
Previous power of 2...


algorithmbit-manipulation

Read More
Rounding up to next power of 2...


coptimizationbit-manipulation

Read More
Finding trailing 0s in a binary number...


cbinarybit-manipulation

Read More
How does this bitwise operation check for a power of 2?...


cmathbit-manipulation

Read More
How to reverse a bitwise OR operation?...


pythonbit-manipulationbitwise-operatorsbitwise-or

Read More
Count bits 1 on an integer as fast as GCC __builtin__popcount(int)...


cbit-manipulationbuilt-in

Read More
Most efficient way to set n consecutive bits to 1?...


cbit-manipulation

Read More
BackNext