You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/algorithms/math/bits/README.md
+19
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,25 @@ inverting all of the bits of the number and adding 1 to it.
91
91
92
92
> See `switchSign` function for further details.
93
93
94
+
#### Multiply
95
+
96
+
This method multiplies two numbers(integer) using bitwise operators. This method is based on that "Every number can be denoted as the sum of powers of 2".
97
+
98
+
```
99
+
Let us take two numbers number1 and number2.
100
+
101
+
number1 * number2 = number1 * (Representation in Base 2)
0 commit comments