numeral system that uses the digits -1, 0 and, 1 From Wikipedia, the free encyclopedia
Balanced ternary is a type of numbering system. It is based on base 3.
The most common numbering system in use today is base 10, or decimal. With decimal, there are ten digits. these are 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. In ternary only 0, 1 and 2 are used. Balanced ternary is similar, but instead of using 0, 1 and 2, the numbers -1, 0 and 1 are used. The letter T is used to mean -1.
As with all numbering systems, each place is equal to the number Multiplied by the system's base raised to that positions location. For example with the base 10 number 1234, the value is 1x 103 (1000) + 2 x 102 (100) + 3 x 101 (10) + 4 x 100.(1) In base 3, these same values would be 27, 9, 3 and 1.
The benefits of using balanced ternary is that it is possible to write down numbers less than zero without the need to say whether a number is positive or negative. Another benefit is that when it comes to computers, there are much fewer rounding errors.
|
a |
|
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.