Autosave: 2024-03-20 07:40:03
This commit is contained in:
parent
81e1e55cb3
commit
5a4f6f0e52
1 changed files with 11 additions and 1 deletions
|
@ -72,7 +72,17 @@ $$
|
||||||
integers is the same as the implementation of positive integers. There is no
|
integers is the same as the implementation of positive integers. There is no
|
||||||
need for additional harware or special handling of the values.
|
need for additional harware or special handling of the values.
|
||||||
- This can be contrasted with the alternative approaches to signing numbers such
|
- This can be contrasted with the alternative approaches to signing numbers such
|
||||||
as
|
as **signed magnitude representation** which uses certain bits as designators
|
||||||
|
of negative/positive status.
|
||||||
|
|
||||||
|
### Limitations
|
||||||
|
|
||||||
|
- Two's complement reduces the overall informational capacity of the given
|
||||||
|
binary word length, effectively halving the total number of unique values.
|
||||||
|
|
||||||
|
- In a 4-bit system instead of 16 total unique encodings of integers you have 8
|
||||||
|
encodings for positive integers and 8 encodings for the their signed
|
||||||
|
equivalent.
|
||||||
|
|
||||||
## Related notes
|
## Related notes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue