+ 2
some one can explain it?
num>>2
3 odpowiedzi
+ 12
• Multiply by a power of 2
x = x << 1; // x = x * 2
x = x << 6; // x = x * 64
• Divide by a power of 2
x = x >> 1; // x = x / 2
x = x >> 3; // x = x / 8
• https://www.sololearn.com/learn/4087/?ref=app
• https://www.sololearn.com/learn/4086/?ref=app
• https://code.sololearn.com/cRRF49cpSTq7/?ref=app
• https://code.sololearn.com/cO9xpzBIiQLn/?ref=app
+ 8
https://www.sololearn.com/learn/4086/?ref=app
Signed Right shift operator (>>) –
+ 4
thank you!
it's good explanations.