ELI5: Explain Like I'm 5

Arithmetic shift

Okay kiddo, so let's imagine you have a bunch of numbers written on a piece of paper, and you want to move them around. But you don't want to change the value of the numbers, you just want to change where they are located.

That's kind of like what arithmetic shift does. It takes a number and moves its digits to the left or right, without changing the actual value of the number.

Let's say you have the number 101101 (that's one hundred and one thousand one hundred and one). If you do an arithmetic shift to the left by one position, you'll get 011010 (that's fifty-three). Notice how the digits all moved to the left, but the value of the number didn't change.

On the other hand, if you do an arithmetic shift to the right by one position, you'll get 1101100 (that's one hundred and fourty-four). Again, the digits moved to the right, but the value of the number stayed the same.

Arithmetic shift is like playing with numbers by sliding them around, without actually changing how much they're worth.