Post by DarkPikachu on Apr 21, 2011 15:55:04 GMT -5
I have developed quanary to be a much simpler way to compact data on a computer
instead of using only a 2-state transistor to control data,
quanary uses a 4-state transistor to do it.
base = voltage:
2-state: (binary transistor)
0 = 0% (0 volts)
1 = 100% (5 volts)
4-state: (quanary transistor)
0 = 0% (0 volts)
1 = 33% (1.5 volts)
2 = 67% (3.5 volts)
3 = 100% (5 volts)
note:
bi means 2
qua(d) means 4
thus the term qua-nary came to be
(since quanary is a 4-base system)
here's a little info showing how quanary works:
[glow=black,1,0]# = [0:3]
___#___#___#__#__#
3: 768 192 48 12 3
2: 512 128 32 8 _2
1: 256 64 _16 4 _1
0: 0 __0 __0 _0 _0[/glow]
also
binary is grouped by 4, where as quanary is grouped by 3
lets compair the int(255)
1111 1111 = (11111111) (8 bits)
003 333 = (3333) (4 bits)
truthfully I based and developed quanary from DNA
but I've recently found out how it fits the Base 64 standard
since the quanary byte system is a 64 base system,
where as the binary system is only a 16 base system.
binary does use B64, but more as:
11 01 10
instead of
3 1 2
the math behind it works as such:
the multiplier is 4 (since it's base 4)
so we start fron the right and read to the left:
256 64 16 4 1
this is for the position of the bit being read.
the next step is to myltiply the position by the bit index
say the bit we are looking at is '002 000'
that's 64*2 which = 128
now we add the values of the bits before it (just like binary) to get the actual value
so that's how quanary works :)
EDIT:
apparently my own research has already been done:
[glow=black,1,0]en.wikipedia.org/wiki/Quaternary_numeral_system[/glow]
so it's called quaternary, not quanary...
oh well...
I'm still working on developing logic gates for the system...
instead of using only a 2-state transistor to control data,
quanary uses a 4-state transistor to do it.
base = voltage:
2-state: (binary transistor)
0 = 0% (0 volts)
1 = 100% (5 volts)
4-state: (quanary transistor)
0 = 0% (0 volts)
1 = 33% (1.5 volts)
2 = 67% (3.5 volts)
3 = 100% (5 volts)
note:
bi means 2
qua(d) means 4
thus the term qua-nary came to be
(since quanary is a 4-base system)
here's a little info showing how quanary works:
[glow=black,1,0]# = [0:3]
___#___#___#__#__#
3: 768 192 48 12 3
2: 512 128 32 8 _2
1: 256 64 _16 4 _1
0: 0 __0 __0 _0 _0[/glow]
also
binary is grouped by 4, where as quanary is grouped by 3
lets compair the int(255)
1111 1111 = (11111111) (8 bits)
003 333 = (3333) (4 bits)
truthfully I based and developed quanary from DNA
but I've recently found out how it fits the Base 64 standard
since the quanary byte system is a 64 base system,
where as the binary system is only a 16 base system.
binary does use B64, but more as:
11 01 10
instead of
3 1 2
the math behind it works as such:
the multiplier is 4 (since it's base 4)
so we start fron the right and read to the left:
256 64 16 4 1
this is for the position of the bit being read.
the next step is to myltiply the position by the bit index
say the bit we are looking at is '002 000'
that's 64*2 which = 128
now we add the values of the bits before it (just like binary) to get the actual value
so that's how quanary works :)
EDIT:
apparently my own research has already been done:
[glow=black,1,0]en.wikipedia.org/wiki/Quaternary_numeral_system[/glow]
so it's called quaternary, not quanary...
oh well...
I'm still working on developing logic gates for the system...