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
34 c N A p T E R ~ Review of Basic Number Representations and Arithmetic Algorithms
multiplication algorithm, in which case the product should be comple-
mented at the end.
1o6 Basic Division Algorithms
Here we consider integer division. 6 That is, the dividend x, the divisor d, the
quotient q, and the remainder w are integers such that
x =qd +w
1.75
with the restriction 0 < Iwl < Idl and the sign of the remainder is equal to the
sign of the dividend.
We first consider the case of positive integers. These are all represented in
a radix-r number system. To obtain a quotient with n digits
(0 < q < r n -
1),
the dividend
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