20 lines
479 B
Markdown
20 lines
479 B
Markdown
![]() |
---
|
||
|
tags:
|
||
|
- binary
|
||
|
---
|
||
|
|
||
|
# Signed and unsigned numbers
|
||
|
|
||
|
## Summary
|
||
|
|
||
|
- To represent negative integers in binary we use signed numbers._Signed binary_
|
||
|
includes negative integers, _unsigned binary_ does not.
|
||
|
|
||
|
- There are different methods of implementing the encoding of signed numbers.
|
||
|
Two prominant approaches are **two's complement** and **signed magnitude
|
||
|
representation**.
|
||
|
|
||
|
## Related notes
|
||
|
|
||
|
[[Twos_complement]], [[Binary_encoding]], [[Signed_magnitude_representation]]
|