Menu
NEWBEDEV
Python
Javascript
Linux
Cheat sheet
NEWBEDEV
Python 1
Javascript
Linux
Cheat sheet
Contact
New posts in Bit Manipulation
Efficient computation of the average of three unsigned integers (without overflow)
Apr 17, 2021
How can I speed up the binary GCD algorithm using __builtin_ctz?
Apr 17, 2021
Javascript's Shift right with zero-fill operator (>>>) yielding unexpected result
Apr 17, 2021
What is n= n ^1U<<i?
Apr 17, 2021
Is there an elegant and fast way to test for the 1-bits in an integer to be in a contiguous region?
Apr 17, 2021
Calculate the number of unordered pairs in an array whose bitwise "AND" is a power of 2 in O(n) or O(n*log(n))
Apr 17, 2021
In Java, how to get positions of ones in reversed binary form of an integer?
Apr 17, 2021
Absolute value abs(x) using bitwise operators and Boolean logic
Apr 17, 2021
Subtracting packed 8-bit integers in an 64-bit integer by 1 in parallel, SWAR without hardware SIMD
Apr 17, 2021
(x | y) - y why can't it simply be x or even `x | 0`
Apr 17, 2021
Older Entries »