It basically takes two integers from user and use binary operations on those data.
- Addition
- Substraction
- Multiplication
- Exponentation
- Division
It works by doing simple binary operation by using the following Bitwise operators
- Bitwise XOR
- Bitwise AND
- Bitwise NOT
First u will need to install this repository
git clone https://github.com/porkfrnd/Bit-Calc/
and then create a file there and call
from bit_calc import *
and then use it as shown in the test.py file inside the bit_calc folder
This application does have some downsides like subtraction cannot be done with the smaller number upfront like shown below
subtract(3,6)
Rather it should be done with the bigger number upfront like shown below
subtract(6,3)