Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bit-manipulation

Why does ((unsigned char)0x80) << 24 get sign extended to 0xFFFFFFFF80000000 (64-bit)?

c bit-manipulation

Java storing two ints in a long

Reversing bits of Python integer

Why is squaring a number faster than multiplying two random numbers?

Fast divisibility tests (by 2,3,4,5,.., 16)?

Flags enum & bitwise operations vs. “string of bits”

Do bitwise operators (other than shifts) make any mathematical sense in base-10?

math bit-manipulation

Fastest way to get sign in Java?

Change a bit of an integer [duplicate]

The difference between logical shift right, arithmetic shift right, and rotate right

Is "-1>>5;" unspecified behavior in C?

How to find the position of the only-set-bit in a 64-bit value using bit manipulation efficiently?

XOR Operation Intuition

c++ bit-manipulation

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

bitwise AND in Javascript with a 64 bit integer

How to compute a 3D Morton number (interleave the bits of 3 ints)

Bit count : preprocessor magic vs modern C++

Speed up bitstring/bit operations in Python?

Is there a way to perform a circular bit shift in C#?

c# bit-manipulation

What's the fastest way to divide an integer by 3?