Skip to Main Content
Digital Arithmetic
book

Digital Arithmetic

by Miloš D. Ercegovac, Tomás Lang
September 2003
Intermediate to advanced content levelIntermediate to advanced
709 pages
26h 51m
English
Morgan Kaufmann
Content preview from Digital Arithmetic
Reduction
139
negative weight, apply the following identity: 2
(-x0) + 1- 1 -(1- x0)- 1 -x 0 - 1
which transforms a signed operand as follows:
X0. X1 -1'2 X3 " 9 " Xn
is replaced by
!
X 0. Xl X2 X3 ... X n
-1
3.4
The resulting bit-array is shown in Figure 3.2(a). Now we can add the array
of-ls. Since we placed the integer point after the sign bits, the value of this
array of-ls is-m, which is represented by
yyy.., y
in Figure 3.2(a). This
bit-vector can be combined with the last row so that the total number of rows in
the array remains m. An example is shown for m = 5 in Figure 3.2(b).
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Arithmetic in Practice

Computer Arithmetic in Practice

Sławomir Gryś

Publisher Resources

ISBN: 9781558607989