+ 1

Bitwise operators examples

Can anyone help with detailed examples about bitwise operators. I can't find, only explanation of operators and 1-2 examples

24th Jul 2018, 12:51 PM
tardigrade
tardigrade - avatar
4 Answers
+ 3
Head to Learn section and scroll down until you find "Bitwise Operations", there you can see the intro and examples : )
24th Jul 2018, 3:13 PM
Ipang
+ 2
Wikipedia/Google are your friends https://en.m.wikipedia.org/wiki/Bitwise_operation
24th Jul 2018, 1:41 PM
KrOW
KrOW - avatar
+ 2
KrOW and Ipang I already understand, thank you. But in some task challenges for short period app asks solution. How we can act in these situations? Because, multiplying and converting from binary to decimal, or vica versa, it takes time. What you recommend to quick solutions for these types of tasks. How easily solve problems in a short time in our brain
24th Jul 2018, 3:20 PM
tardigrade
tardigrade - avatar
+ 2
Hi tardigrade, sorry I thought you were looking for examples but it turned out you're looking for tips for doing bitwise operations in least of time : ) I honestly am not that good when it comes to finding quick answers, as I am not good with Maths, so I guess the best I can suggest you is to practice, anyways, here's an article covering binary arithmetic tips, hope we both can learn something from it : ) https://ryanstutorials.net/binary-tutorial/binary-arithmetic.php
24th Jul 2018, 3:41 PM
Ipang