<s>
Although	O
ternary	O
most	O
often	O
refers	O
to	O
a	O
system	O
in	O
which	O
the	O
three	O
digits	O
are	O
all	O
non	O
–	O
negative	O
numbers	O
;	O
specifically	O
,	O
,	O
and	O
,	O
the	O
adjective	O
also	O
lends	O
its	O
name	O
to	O
the	O
balanced	B-Algorithm
ternary	I-Algorithm
system	I-Algorithm
;	O
comprising	O
the	O
digits	O
−1	O
,	O
0	O
and	O
+1	O
,	O
used	O
in	O
comparison	O
logic	O
and	O
ternary	B-Device
computers	I-Device
.	O
</s>
<s>
For	O
example	O
,	O
decimal	B-Application
365	O
or	O
senary	O
1405	O
corresponds	O
to	O
binary	O
101101101	O
(	O
nine	O
digits	O
)	O
and	O
to	O
ternary	O
111112	O
(	O
six	O
digits	O
)	O
.	O
</s>
<s>
As	O
for	O
rational	O
numbers	O
,	O
ternary	O
offers	O
a	O
convenient	O
way	O
to	O
represent	O
as	O
same	O
as	O
senary	O
(	O
as	O
opposed	O
to	O
its	O
cumbersome	O
representation	O
as	O
an	O
infinite	O
string	O
of	O
recurring	O
digits	O
in	O
decimal	B-Application
)	O
;	O
but	O
a	O
major	O
drawback	O
is	O
that	O
,	O
in	O
turn	O
,	O
ternary	O
does	O
not	O
offer	O
a	O
finite	O
representation	O
for	O
(	O
nor	O
for	O
,	O
,	O
etc	O
.	O
</s>
<s>
)	O
,	O
because	O
2	O
is	O
not	O
a	O
prime	O
factor	O
of	O
the	O
base	O
;	O
as	O
with	O
base	O
two	O
,	O
one-tenth	O
(	O
decimal	B-Application
,	O
senary	O
)	O
is	O
not	O
representable	O
exactly	O
(	O
that	O
would	O
need	O
e.g.	O
</s>
<s>
decimal	B-Application
)	O
;	O
nor	O
is	O
one-sixth	O
(	O
senary	O
,	O
decimal	B-Application
)	O
.	O
</s>
<s>
Decimal	B-Application
0.5	O
0	O
.	O
</s>
<s>
This	O
is	O
most	O
commonly	O
seen	O
in	O
CMOS	B-Device
circuits	O
,	O
and	O
also	O
in	O
transistor	B-General_Concept
–	I-General_Concept
transistor	I-General_Concept
logic	I-General_Concept
with	O
totem-pole	O
output	O
.	O
</s>
<s>
A	O
rare	O
"	O
ternary	O
point	O
"	O
in	O
common	O
use	O
is	O
for	O
defensive	O
statistics	O
in	O
American	O
baseball	B-Application
(	O
usually	O
just	O
for	O
pitchers	O
)	O
,	O
to	O
denote	O
fractional	O
parts	O
of	O
an	O
inning	O
.	O
</s>
<s>
Ternary	O
is	O
the	O
integer	O
base	O
with	O
the	O
lowest	O
radix	B-Algorithm
economy	I-Algorithm
,	O
followed	O
closely	O
by	O
binary	O
and	O
quaternary	O
.	O
</s>
<s>
A	O
form	O
of	O
redundant	O
binary	O
representation	O
called	O
a	O
binary	O
signed-digit	O
number	O
system	O
,	O
a	O
form	O
of	O
signed-digit	O
representation	O
,	O
is	O
sometimes	O
used	O
in	O
low-level	O
software	O
and	O
hardware	O
to	O
accomplish	O
fast	O
addition	O
of	O
integers	O
because	O
it	O
can	O
eliminate	O
carries	B-Algorithm
.	O
</s>
<s>
Simulation	O
of	O
ternary	B-Device
computers	I-Device
using	O
binary	O
computers	O
,	O
or	O
interfacing	O
between	O
ternary	O
and	O
binary	O
computers	O
,	O
can	O
involve	O
use	O
of	O
binary-coded	O
ternary	O
(	O
BCT	O
)	O
numbers	O
,	O
with	O
two	O
or	O
three	O
bits	O
used	O
to	O
encode	O
each	O
trit	O
.	O
</s>
<s>
BCT	O
encoding	O
is	O
analogous	O
to	O
binary-coded	O
decimal	B-Application
(	O
BCD	O
)	O
encoding	O
.	O
</s>
<s>
A	O
library	O
of	O
C	B-Language
code	I-Language
supporting	O
BCT	O
arithmetic	O
is	O
available	O
.	O
</s>
<s>
Some	O
ternary	B-Device
computers	I-Device
such	O
as	O
the	O
Setun	B-Device
defined	O
a	O
tryte	B-General_Concept
to	O
be	O
six	O
trits	O
or	O
approximately	O
9.5	O
bits	O
(	O
holding	O
more	O
information	O
than	O
the	O
de	O
facto	O
binary	O
byte	B-Application
)	O
.	O
</s>
