Bitwise OR ( | ) calculator
What is Bitwise OR?
A bitwise OR is a binary boolean operation that takes 2 bits as patterns of equal length and calculates the logical OR bitwise operation of each pair of corresponding bits. The result will be 1 if any of the bit patterns is 1 otherwise it will be 0 (zero).
If the two corresponding bits pattern is 0 it will return 0 in bitwise or calculation. And also if the two corresponding bits pattern is 1 then it will return 1.
12 = 00001100 (In Binary) 25 = 00011001 (In Binary) Bitwise OR Operation of 12 and 25 00001100 | 00011001 ________ 00011101 = 29 (In decimal)
How to calculate OR?
First, we have to convert the Decimal number to binary number like If we take 2 and 3 two decimal numbers then we have to convert it into binary form like 12=00001100; 25=00011001. After that we have to perform Bitwise OR corresponding to right to left.
Table to calculate Bitwise OR
|0 | 0||0|
|0 | 1||1|
|1 | 0||1|
|1 | 1||1|
Some examples of bitwise OR calculation
|1 | 2||3|
|2 | 2||2|
|8 | 2||10|
|8 | 3||11|
|6 | 3||7|
|5 | 3||7|
|4 | 1||5|
|9 | 4||13|
|6 | 4||7|
How to use this Bitwise OR calculator online
Hey Buddy! How are you? At first A Warm Welcome to you on our online calculator tool site!
Follow these 6 easy steps to use our “Bitwise OR calculator online Tool”.
1) At first, give two inputs in the “Input Section.” (Your inputs should be decimal number)
2) After giving your inputs, press the “Calculate” button & Boom! You can see your result in the “Answer Section”!! Isn’t it amazing? 🙂
3) Your answer will be in number.
4) Once used our calculator & to start from fresh, press the “Reset” button & continue enjoying 🙂
How You Can Help us
Now comes the last & most important step. If you find any inconvenience/mistake, then Feel free to contact us through the “Contact Us” section.
✓Also if you feel we can improve our blog in a better way please feel free to let us know & you’re always welcome to share with us your beautiful idea.
✓ If you find our “Bitwise OR calculator online” Very Useful, give us your feedback in “Add a Comment” section. Your feedback matters a lot to us. We’ll be waiting for your feedback. Keep Loving & Supporting us. Thank You! Have a Nice Day! 🙂