Skip to content

Commit

Permalink
Add even more notes (this time on converting one's complement to two'…
Browse files Browse the repository at this point in the history
…s complement and vice versa)
  • Loading branch information
if-loop69420 committed Oct 8, 2024
1 parent fae6b72 commit 1e13f91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions notes/20241008173746.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# How to convert numbers from one's complement to two's complement?
To convert binary[[20241007151817]] number from one's complement [[20241008153136]] to the two's complement [[20241008163228]] of a number add one to the number.

#gds #numberrepresentation #binary
4 changes: 4 additions & 0 deletions notes/20241008173933.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# How to convert two's complement of a number to one's complement of a number?
To convert the two's complement [[20241008163228]] of a binary [[20241007151817]] number to the one's complement [[20241008153136]] of a binary number subtract 1 from the number.

#gds #numberrepresentation #binary

0 comments on commit 1e13f91

Please sign in to comment.