eolas/zk/Signed_and_unsigned_numbers.md
2024-06-16 18:30:03 +01:00

492 B

tags
binary
hardware

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