BitShiftLeft 45 2 positions
45 << 2
First Check for binary format:
45 written in binary format is 101101
Decimal Shift:
BitShiftLeft 2 means multiplying our decimal value by 22 = 4
45 x 4 = 180
In terms of binary, it means shifting everything left one place and removing the leftmost digit, and the last right most digit becomes 0
Final Answer
10110100
How does the Bit Shifting Calculator work?
Free Bit Shifting Calculator - Performs a bit shift left or a bit shift right on a decimal or binary number
This calculator has 2 inputs.
What 2 formulas are used for the Bit Shifting Calculator?
BitShiftLeft n means multiplying our decimal value by 2n
BitShiftRight n means dividing our decimal value by 2n
What 3 concepts are covered in the Bit Shifting Calculator?
- binary
- Base 2 for numbers
- bit shifting
- operation performed on the bits of a value, moving them either left or right
- decimal
- Number in the form a/b where the result is not a whole number