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
414 C ~ii A iF ~: s: {::i!i: iilqi: s Floating-Point Representation, Algorithms, and Implementations
Round Toward Plus and Minus Infinity
These two directed modes are useful for interval arithmetic, in which the op-
erands and the result of an operation are intervals. This permits the monitoring
of the accuracy of the result.
In terms of the infinite precision significand and the sign,
Mf + r -f
ifMa > 0 and S -- 0 8.42
Rpinf(x) -- MU
ifMa--0orS--1
Mf -+- r -f
if
Ma
> 0 and S - 1 8.43
Rninf(x) -- Mf
ifMa--0orS--0
As in the round to nearest, the addition of
r -f can
produce a significand
overflow.
These ...
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