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

460 B

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.

gktb#detail