Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bit-manipulation

Find out number of bits needed to represent a positive integer in binary?

java bit-manipulation bits

How to compute the integer absolute value

What is an XOR sum?

c bit-manipulation bit xor

Bit twiddling: which bit is set?

c bit-manipulation

bitwise & doesn't work with bytes in kotlin

bit-manipulation kotlin

How to get the Nth digit of an integer with bit-wise operations?

numbers bit-manipulation

Send and receive binary data over web sockets in Javascript?

What is the efficient way to count set bits at a position or lower?

n is negative, positive or zero? return 1, 2, or 4

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?