Search code examples
What is the difference between "1 << x" and "pow(2, x)"?...

c#unity-game-enginemathcomparisonbit-manipulation

Read More
Collapse __mask64 aka 64-bit integer value, counting nibbles that have all bits set?...

c++bit-manipulationavxavx512

Read More
Replace branch statements by bit-shifting operations...

algorithmconditional-statementsbit-manipulationbit-shiftbranchless

Read More
Constrain a 16 bit signed value between 0 and 4095 using Bit Manipulation only (without branching)...

c++coptimizationbit-manipulationbranchless

Read More
How to XOR on a CPU that doesn't have an XOR instruction...

assemblybit-manipulationbitwise-operatorsboolean-logicbitwise-xor

Read More
Division by a constant using shifts and adds/subtracts...

performanceassemblybit-manipulationmathapproximation

Read More
How to create a byte out of 8 bool values (and vice versa)?...

c++booleanbit-manipulationbit-packing

Read More
Find number with least number of signifcant bits in an interval...

pythonbit-manipulationintervals

Read More
Generalizing binary left shift for octal representation without conversion...

c++binarybit-manipulationoctal

Read More
"Bitwise AND" in Lua...

luabit-manipulationoperators

Read More
Bitwise operators versus .NET abstractions for bit manipulation in C# prespective...

c#.netbit-manipulation

Read More
What is the fastest way for bit operations to calculate a parity?...

cbit-manipulationparity

Read More
How to unpack bits from packbits results?...

pythonnumpybit-manipulation

Read More
What is the runtime of using bit manipulation (XOR and AND) to perform binary addition?...

algorithmbinarytime-complexitybit-manipulationbig-o

Read More
How to interleave two uint32_t values into one uint64_t?...

cbit-manipulationz-order-curve

Read More
Efficiently find least significant set bit in a large array?...

cassemblybit-manipulationx86-64avx

Read More
Generate all n-bit numbers where the i-th bit is 0...

cnumbersbit-manipulation

Read More
Set bit X of an integer to bit Y of another integer without branching?...

c++optimizationbit-manipulationbranchless

Read More
Saturating subtract/add for unsigned bytes...

c++coptimizationbit-manipulationsaturation-arithmetic

Read More
Bit hack: Expanding bits...

cbit-manipulation

Read More
Manipulate alpha bytes of Java/Android color int...

javaandroidbit-manipulation

Read More
C program return 1 if x > 0, 0 if x = 0, or -1 x < 0...

cbit-manipulationbitwise-operators

Read More
Having trouble with a VHDL output for a 4 bit shift register...

bit-manipulationvhdl

Read More
How do I find 4 complementary 24bit RGB colors with no overlapping bits?...

rustcolorsbit-manipulationrgbmaze

Read More
Encode a std::uint64_t into vector of floats...

c++castingbit-manipulation

Read More
Which logical operations can I use to ignore irrelevant bits when masking?...

c#bit-manipulationboolean-logicbitmaskboolean-operations

Read More
Mysql: xor a string with a key...

mysqlstringbit-manipulationxor

Read More
78.LeetCode/Subsets problem - Solution accepted using helper function, but Memory Limit Exceeds othe...

javabit-manipulationsubset

Read More
Rotating bits in a byte in Java...

javabit-manipulationbytebit

Read More
Extracting bits from a float in vba...

vbafloating-pointbit-manipulation

Read More
BackNext