Map Graph
No coordinates found

Logical shift

Bit-level computer operation

In computer science, a logical shift is a bitwise operation that shifts all the bits of its operand. The two base variants are the logical left shift and the logical right shift. This is further modulated by the number of bit positions a given value shall be shifted, such as shift left by 1 or shift right by n. Unlike an arithmetic shift, a logical shift does not preserve a number's sign bit or distinguish a number's exponent from its significand (mantissa); every bit in the operand is simply moved a given number of bit positions, and the vacant bit-positions are filled, usually with zeros, and possibly ones.

Read article
Top Questions
AI generated

List the top facts about Logical shift

Summarize this article

What is the single most intriguing fact about Logical shift?

Are there any controversies surrounding Logical shift?

More questions