How to check the shifted bit and to let it return to the beginning? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to check the shifted bit and to let it return to the beginning?

How to acess every bit and work on it individually

4th Sep 2018, 9:48 PM
Retag Tarek
Retag Tarek - avatar
2 Answers
+ 4
In the context of << / >> (shift left / right)... Do you mean circular shift (rotate)?
4th Sep 2018, 10:45 PM
Kirk Schafer
Kirk Schafer - avatar
0
Kirk Schafer like if I am shifting 1010 to the left and I want the one who's going to be shifted to return back to the beginning 0101
6th Sep 2018, 2:53 AM
Retag Tarek
Retag Tarek - avatar