Hello everyone!
Today I present to you....the redundant binary signed-digit number system.
What is redundant binary?
A redundant binary representation (RBR) is a numeral system that uses more bits than needed to represent a single binary digit so that most numbers have several representations.
What's the signed-digit thingy?
When digits have signs, that RBR is also a signed-digit representation.
RBSD (redundant binary signed digit) uses 2 bits for 1 digit.
00=-1
01=0
10=0
11=1
What are the advantages of RBSD?
-No need for 2's complement, to negate you just invert all bits and you can represent all positive and negative numbers.
00->11 (-1->1)
01->10 (0->0)
10->01 (0->0)
11->00 (1->-1)
-Addition is carryless!
this means that there will be a constant delay no mather what bitsize you are using, 8 bits=4585346969 bits.
What are the disadvantages of RBSD?
-2 bits for 1 digit
-conversions from RBSD to 2's complement
How to make an RBSD adder?
http://en.wikipedia.org/wiki/Redundant_b...esentation
I made an adder in minecraft for it but I suck at making stuff fast, maybe you guys can improve it
Today I present to you....the redundant binary signed-digit number system.
What is redundant binary?
A redundant binary representation (RBR) is a numeral system that uses more bits than needed to represent a single binary digit so that most numbers have several representations.
What's the signed-digit thingy?
When digits have signs, that RBR is also a signed-digit representation.
RBSD (redundant binary signed digit) uses 2 bits for 1 digit.
00=-1
01=0
10=0
11=1
What are the advantages of RBSD?
-No need for 2's complement, to negate you just invert all bits and you can represent all positive and negative numbers.
00->11 (-1->1)
01->10 (0->0)
10->01 (0->0)
11->00 (1->-1)
-Addition is carryless!
this means that there will be a constant delay no mather what bitsize you are using, 8 bits=4585346969 bits.
What are the disadvantages of RBSD?
-2 bits for 1 digit
-conversions from RBSD to 2's complement
How to make an RBSD adder?
http://en.wikipedia.org/wiki/Redundant_b...esentation
I made an adder in minecraft for it but I suck at making stuff fast, maybe you guys can improve it