Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bit-manipulation

C/C++ check if one bit is set in, i.e. int variable

c++ c bit-manipulation

How do I get bit-by-bit data from an integer value in C?

c bit-manipulation

Should I use #define, enum or const?

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

c++ c bit-manipulation

Position of least significant bit that is set

Why does this random value have a 25/75 distribution instead of 50/50?

What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?

What is the idea behind ^= 32, that converts lowercase letters to upper and vice versa?

c++ bit-manipulation ascii

~x + ~y == ~(x + y) is always false?

Are the shift operators (<<, >>) arithmetic or logical in C?

Why is XOR the default way to combine hashes?

How can I remove a flag in C?

c bit-manipulation flags

'and' (boolean) vs '&' (bitwise) - Why difference in behavior with lists vs numpy arrays?

Explain the use of a bit vector for determining if all characters are unique

What does (x ^ 0x1) != 0 mean?

c++ c bit-manipulation bitmask

What is the meaning of double tilde (~~) in Java?

C# int to byte[]

c# .net bit-manipulation nfs

Most common C# bitwise operations on enums

What does a tilde do when it precedes an expression?

Using bitwise OR 0 to floor a number