+ 1

Can someone explain me bitsize operators

25th Jun 2019, 5:46 PM
EthicalCoder
3 ответов
+ 5
25th Jun 2019, 5:53 PM
Ipang
+ 13
• 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 ➝ Remember to use  🔍SEARCH. . .  bar to avoid from posting duplicate threads! • https://www.sololearn.com/learn/4087/?ref=apphttps://www.sololearn.com/learn/4086/?ref=apphttps://code.sololearn.com/cRRF49cpSTq7/?ref=app
25th Jun 2019, 6:03 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 2
You can use "x <<= n" to simplify "x = x << n"
25th Jun 2019, 8:00 PM
alvaro.pkg.tar.zst
alvaro.pkg.tar.zst - avatar