Autosave: 2024-03-19 07:20:03

This commit is contained in:
thomasabishop 2024-03-19 07:20:03 +00:00
parent 1f11a23e6e
commit 790dedf85d
2 changed files with 27 additions and 4 deletions

View file

@ -6,11 +6,13 @@ tags: [binary, binary-encoding]
## Summary
- To represent negative integers in binary we use signed numbers.
- To represent negative integers in binary we use signed numbers._Signed binary_
includes negative integers, _unsigned binary_ does not.
In order to represent negative integers in binary we use signed numbers.
**Signed binary** is basically binary where negative integers can be
represented. **Unsigned binary** is standard binary without negative integers.
- The principal methnod for encoding signed binary numbers is called **two's
complement**.
## Related notes
In order to represent negative integers alonside positive integers a natural
approach is to divide the available

21
zk/Twos_complement.md Normal file
View file

@ -0,0 +1,21 @@
---
id: gktb
title: Two's complement
tags: []
created: Tuesday, March 19, 2024
---
# Two's complement
## Summary
- _Two's complement_ is a method for representing signed numbers (negative
integers) in binary.
## Detail
## Applications
## Related notes
[[Signed_and_unsigned_numbers|signed_and_unsigned_numbers]]