Source: wikibot/logical-shift

= Logical shift
{wiki=Logical_shift}

A logical shift is a bit manipulation operation that involves shifting the bits of a binary number to the left or right. Unlike arithmetic shifts, which preserve the sign of a number when using signed binary formats, logical shifts don't take into account whether the number is signed or not and simply shift bits in a straightforward manner.