Ep 005: Shifting Bits to Multiply, Divide, and Convert
Vložit
- čas přidán 4. 08. 2020
- By shifting bits left and right, we can effectively multiply and divide binary values. This gives us a second way to convert from decimal to binary.
Take aways: At the completion of this lesson, each student should be able to:
• identify the bit shift operators used in a programming language like Java,
• translate multiplication and division by powers of 2 into bit shifts, and
• use this property to convert decimal values into binary using division by 2.
#shift #bit #logical
Awesome, thanks for sharing!!
great video, explained very well, thank you a lot!
thank you