Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bit-manipulation

Java: right shift on negative number

C quick calculation of next multiple of 4?

c bit-manipulation

How to calculate 2^n-1 efficiently without overflow?

c bit-manipulation

bitwise check if flag present

Optimize me! (C, performance) -- followup to bit-twiddling question

How do I perform an unsigned right shift (>>> in Java) in C/C++?

java c bit-manipulation

Check value of least significant bit (LSB) and most significant bit (MSB) in C/C++

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

rust bit-manipulation

Getting the fractional part of a float without using modf()

c++ c math bit-manipulation

How would you set and clear a single bit in Go?

go bit-manipulation

How to do a bit representation in a C-standard way?

How to create a byte out of 8 bool values (and vice versa)?

How to perform multiplication, using bitwise operators?

Is static_cast<T>(-1) the right way to generate all-one-bits data without numeric_limits?

c++ bit-manipulation idioms

Why is the range of signed byte is from -128 to 127 (2's complement) and not from -127 to 127?

Bits list to integer in Python

Optimizing Long.bitCount

Odd bit operator in the increment statement of a for loop [duplicate]

Zig Zag Decoding

How is this bitwise AND operator masking the lower seven order bits of the number?