
Hello readers, we are gonna take a look at how can we subtract two numbers without using arithmetic operation. We will only use bitwise operations to perform subtraction.
Table of content:
What are bitwise operations?Subtraction using bitwise operationsSubtraction LogicImplementation of LogicComplexity Analysis
We will dive into bitwise subtraction now.
What are bitwise operations?
Similar to arithmetic operators like +, -, *, / in decimal number system, we have bitwise operators like AND ...
Published on August 13, 2021 00:11