4 ms·
If you have a number base n, shift right/left k digits means, respectively, "divide/multiply by n^k". That's the same whether it's decimal (n=10) or binary (n=
by dalmo3 5y ago
If you have a number base n, shift right/left k digits means, respectively, "divide/multiply by n^k".
That's the same whether it's decimal (n=10) or binary (n=2).
- pcthrowaway 5y agoIt's floor division with bit shifting though, right?