News for hackers. Stuff that matters.
Re:A Bit Overcomplicated by dalmo3 on Thursday August 05, 2021 @07:55PM (#28081592)
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).

Re:A Bit Overcomplicated by pcthrowaway on Thursday August 05, 2021 @09:59PM (#28082456)
It's floor division with bit shifting though, right?