File tree 2 files changed +5
-3
lines changed
src/main/java/com/thealgorithms/bitmanipulation
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3
3
/**
4
4
* @author - https://github.com/Monk-AbhinayVerma
5
5
* @Wikipedia - https://en.wikipedia.org/wiki/Ones%27_complement
6
- * The class OnesComplement computes the complement of binary number and returns
7
- * the complemented binary string.
6
+ * The class OnesComplement computes the complement of binary number
7
+ * and returns
8
+ * the complemented binary string.
8
9
* @return the complimented binary string
9
10
*/
10
11
public class OnesComplement {
Original file line number Diff line number Diff line change 1
1
package com .thealgorithms .bitmanipulation ;
2
+
2
3
/**
3
4
* @wikipedia - https://en.wikipedia.org/wiki/Two%27s_complement
4
- * This Algorithm was first suggested by Jon Von Neumann
5
+ * This Algorithm was first suggested by Jon Von Neumann
5
6
* @author - https://github.com/Monk-AbhinayVerma
6
7
* @return the two's complement of any binary number
7
8
*/
You can’t perform that action at this time.
0 commit comments