📜  右移除法 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:17.039000             🧑  作者: Mango

代码示例1
Right shifting binary numbers would divide a number by 2 and left shifting the numbers would multiply it by 2. This is because 10 is 2 in binary. ... Similarly, dividing by 10 (or 2) removes a binary digit from the number(effectively right shifting).