Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bit-manipulation

Explain this snippet which finds the maximum of two integers without using if-else or any other comparison operator?

Set specific bit in byte

java byte bit-manipulation

How do you set, clear and toggle a single bit in JavaScript?

How does XOR variable swapping work?

Incrementing 'masked' bitsets

How do I flip a bit in SQL Server?

Efficiently find binary strings with low Hamming distance in large set

Have you ever had to use bit shifting in real projects? [closed]

Is there an elegant and fast way to test for the 1-bits in an integer to be in a contiguous region?

c++ c bit-manipulation

Why if (n & -n) == n then n is a power of 2?

java logic bit-manipulation

Saturating subtract/add for unsigned bytes

Manipulate alpha bytes of Java/Android color int

C/C++: Force Bit Field Order and Alignment

Precedence and bitmask operations

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

What's the simplest way to test whether a number is a power of 2 in C++?

What is CHAR_BIT?

c bit-manipulation

Bitwise operation and usage

Best practices for circular shift (rotate) operations in C++

How do I write a maintainable, fast, compile-time bit-mask in C++?

c++ c++11 bit-manipulation