Rotate Left
Result
—
About this tool
Rotate a binary string left by a specified number of positions.
Example
Input: 1101, rotate=1 Output: 1011
Conversion formula
Left rotate: take bits[k..end] + bits[0..k-1].
—
Rotate a binary string left by a specified number of positions.
Input: 1101, rotate=1 Output: 1011
Left rotate: take bits[k..end] + bits[0..k-1].