Method and apparatus for calculating the residue of a signed binary number
AssigneeHoneywell Information Systems Inc.
InventorsJoseph C. Circello, Russell W. Guenthner
Life of this patent
Estimating the term…
Loading patent…
AssigneeHoneywell Information Systems Inc.
InventorsJoseph C. Circello, Russell W. Guenthner
Estimating the term…
Method and apparatus for calculating the residue of a signed binary number of "n" bits with respect to a given check base m where m=2.sup.b -1. The bits of the binary number excluding the sign bit are partitioned into number segments, each of b bits starting with the least significant bit. If (n-1) is not an even multiple of b, higher order bit positions of the number segment containing the next most significant bit of the binary number are filled with logical zeros. A sign segment of b bits is formed. Both number and sign segments have boundaries. The bit position in the sign segment relative to a sign segment boundary which corresponds to the bit position of the sign bit "s" relative to the nearest boundary of a number segment is filled with a logical zero. All other bit positions of the sign segment are filled with the sign bit. The number and sign segments are applied to carry save adders to reduce the number segments and sign segment to a single sum segment and a single rotated carry segment. A rotated carry segment is a carry segment produced by a carry save adder, the most significant bit of which becomes the least significant bit of the rotated carry segment. The other bits of the carry segment and their significance are increased by one in the rotated carry segment. Carry segments produced by carry save adders of one level are converted to rotated carry segments before being applied to a carry save or full adder of a lower level. The single sum segment and single rotated carry segment produced by the lowest level carry save adder is applied to a one's complement adder. The b bit output of the one's complement adder is the residue of the signed binary number to the check base (2.sup.b -1).
Apparatus for calculating the residue of a signed binary number in two's complement notation, in which the most significant bit of the binary number is a sign bit, the bits of the binary number of lesser significance than the sign bit being partitioned into a plurality of equally sized number segments having segment boundaries, comprising:
Apparatus for calculating the reside of a signed binary number of "n" bits in the two's complement notation with respect to a check base "m", the quantity (n-1) bits of said number being of lesser significance than the sign bit, and being partitioned into number segments of b bits each with each number segment having segment boundaries, where m=(2.sup.b -1) and m, n, and b are positive integers greater than one, comprising:
The method of calculating the residue of a signed binary number with respect to a given check base, comprising the steps of:
Dependencies are inferred from the claim text.