Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bit-manipulation

Invert bitwise shift operator / power of two

bit manipulation:print the next smallest and largest numbers with same no of 1 bits

c bit-manipulation

Fill with variable number of ones

Find the lowest set bit

what (r+1 + (r >> 8)) >> 8 does?

c bit-manipulation

how to zero every bit when in second operand is 1?

c++ bit-manipulation

Bitwise operation in C to compare two integers

Why should I always use || instead of | and && instead of &?

Compile-time checking if right shift is arithmetic on signed types

Best practice to use bit operations to set some flags

fast way to get integers 0, 1, and 2 when given a random one from the set

Fastest way to read Left-Most bit from unsigned int (C++)?

c++ bit-manipulation

What is 0xFF and why is it shifted 24 times?

ASCII compressor works for short test file, not on long

Bit-reversal algorithm by Rutkowska

What are good methods for hashing bits in an Int32 or UInt32?

c# bit-manipulation prng

Best way to compute max mask of sse var

What's the best way to represent a short bit string?

8-bit checksum is off by one