eolas/zk/Signed_and_unsigned_numbers.md
2024-03-20 07:50:03 +00:00

18 lines
460 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
tags: [binary, binary-encoding]
---
# 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
[[gktb#detail|two's complement Detail]]