eolas/zk/Signed_and_unsigned_numbers.md
2024-06-15 11:00:03 +01:00

479 B

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.

Twos_complement, Binary_encoding, Signed_magnitude_representation