Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下关于左移的两个问题让我感到困惑。
如果对一个合适的二进制数执行 Shift Left 操作五次,它将乘以多少次?答案是 32。
如果对它执行 Shift Left 操作五次,合适的数字将乘以多少倍?答案是 16
有人可以解释一下吗??
答案是 32。
例如 2(二进制 10)移位 5 次是 1000000,即 64。