Search code examples
Will bit-shift by zero bits work correctly?...


c++bit-manipulationbit-shift

Read More
Setting all bits before first '1'...


binaryintegerbit-manipulation

Read More
How to efficiently find Bitwise OR of a range of numbers...


calgorithmbit-manipulationbitwise-operatorsbitwise-or

Read More
Efficient (bit-wise) division by 24...


bit-manipulationbitbitwise-operatorsdivisioninteger-division

Read More
Multiply by 27 using only bit shifting, addition and subtraction as few times as possible...


c#bit-manipulationbit-shiftmultiplication

Read More
Swap first and last 5 bits in a 16-bit number...


cbit-manipulationrgbbit-shift

Read More
How does an arithmetic bit-shift affect a signed integer?...


cbit-manipulationbit-shift

Read More
In C, can the Arithmetic Right Shift 1>>31 result in -1?...


cbit-manipulationbit-shifttwos-complementsigned-integer

Read More
How to turn a 16-bit number in one's complement into it's 7-segment display equivalence?...


binarybit-manipulationcomputer-scienceminecraftones-complement

Read More
Why use 32-bit register when the data type is 64-bit?...


assemblybit-manipulationx86-64instructionsinstruction-set

Read More
Add two integers using only bitwise operators?...


c#bit-manipulation

Read More
How to find TMax without using shifts...


c++cbinarylogicbit-manipulation

Read More
What is the purpose of the unsigned right shift operator ">>>" in Java?...


javaprogramming-languagesbit-manipulation

Read More
Fast nearest power of 2 in JavaScript?...


javascriptdoublebit-manipulationieee-754

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


algorithmbit-manipulation

Read More
Golang - convert [8]bool to byte...


gobit-manipulationbitwise-operatorsbit-packing

Read More
Why two NaNs with the same binary are still not equal to each other but two infs are?...


cfloating-pointbit-manipulation

Read More
What is the fastest way to calculate the number of bits needed to store a number...


c++bit-manipulationbit

Read More
How do the left shifting operator preserve sign?...


javabit-manipulationbitbit-shift

Read More
How to convert bool[] into byte[]?...


c#bit-manipulationdata-conversionbit-packing

Read More
Enum.HasFlag vs. Bitwise AND Operator Check...


c#performanceoptimizationenumsbit-manipulation

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


cbit-manipulationbuilt-in

Read More
Why does the bit shift expression `1 << 63` not evaluate to 2↑63 even when I cast it to `long`...


javabit-manipulationbit-shift

Read More
How to perform an unsigned right shift in Ruby?...


javarubybit-manipulationunsigned

Read More
I have a collection of bit flags. How to decompose a combined integer into its constituent set of fl...


javascriptbit-manipulation

Read More
How to store the set of currently pressed keys in a bit mask?...


javascriptbit-manipulationbitwise-operators

Read More
How do bitwise operators work on non-numeric operands?...


javascriptoperatorsbit-manipulation

Read More
Why does bitwise NOT of 1 equal −2 instead of 0?...


javascriptbit-manipulation

Read More
What are 0xaa and 0x55 doing?...


javapythonoperatorsbit-manipulation

Read More
Counting the number of leading zeros in a 128-bit integer...


c++gccbit-manipulationsse

Read More
BackNext