Lably
Skip to content

Negative base

Non-standard positional numeral system

  • 23 min read
  • 7 chapters

Related on Lably

Through Prefix, Decimal and Binary number

Negative-base systems can accommodate all the same numbers as standard place-value systems, but both positive and negative numbers are represented without the use of a minus sign (or, in computer representation, a sign bit); this advantage is countered by an increased complexity of arithmetic operations. The need to store the information normally contained by a negative sign often results in a negative-base number being one digit longer than its positive-base equivalent.

The common names for negative-base positional numeral systems are formed by prefixing nega- to the name of the corresponding positive-base system; for example, negadecimal (base −10) corresponds to decimal (base 10), negabinary (base −2) to binary (base 2), negaternary (base −3) to ternary (base 3), and negaquaternary (base −4) to quaternary (base 4).

Example

Consider what is meant by the representation 12243 in the negadecimal system, whose base b is −10:

The representation 12,243−10 (which is intended to be negadecimal notation) is equivalent to 8,16310 in decimal notation, because 10,000 + (−2,000) + 200 + (−40) + 3 = 8,163.

Remark

On the other hand, −8,16310 in decimal would be written 9,977−10 in negadecimal.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Basics