What is Binary Right Shift of Negative Numbers ? Bit Manipulation

Опубликовано: 30 Ноябрь 2021
на канале: Firmware
1,326
19

Here we look into the concept of Binary Right Shift of signed Negative numbers.
Negative numbers have their MSB as 1 in their binary form. When you right shift a negative number, the vacant positions on the MSB side are filled with 1s. This is in contrast to positive numbers.

See Bit Manipulation Interview Preparation Series here:
   • Bit Manipulation Interview Series  

You could follow us on Facebook and Instagram:
Facebook :   / firmwarecode  
Instagram :   / firmwarecode  

#BitManipulation #BitAlgorithms