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
Addition, Change of Sign, and Subtraction 17
1,3
so that
m--1
X -- ~ Xi ri
1.31
-f
7
For example, 0 < x < 7g is represented in radix-2 as
X-(X2 X1Xo.X-1X-2
X-3).
When representing fractions (no integer part), the convention used sometimes
is to assign positive indices to the fractional part. That is,
so that
X -- (X 1X2... X f)
1.32
f
x -- ~Xi r-i
1
1.33
Addition, Change of Sign, and Subtraction
In this section, we discuss addition, subtraction, change of sign, and overflow
detection.
1.3.1
Addition and Subtraction of Positive Integers
Consider the operation z = x +y in which the operands and the result are positive ...
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