Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in bit-manipulation

Left bit shifting 255 (as a byte)

Why should I use bitwise/bitmask in PHP?

Perform integer division using multiplication [duplicate]

Applications of '~' (tilde) operator in Python

PHP function flags, how?

Simple way to set/unset an individual bit

c++ bit-manipulation

Given a 32 bit number, what is an efficient way to scale each byte by a certain factor?

c++ c bit-manipulation

Negate a boolean based on another boolean

c# bit-manipulation

How can I get the value of the least significant bit in a number?

c 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?