Skip to Content
Arithmetic and Logic in Computer Systems
book

Arithmetic and Logic in Computer Systems

by Mi Lu
January 2004
Intermediate to advanced
246 pages
6h 4m
English
Wiley-Interscience
Content preview from Arithmetic and Logic in Computer Systems

11

Signed-Digit Number Operations

In a signed-digit (SD) number system, carry propagation can be limited to one position to the left during the digit-wise addition and subtraction. The addition time is independent of the word length since the chains of carry-propagations are eliminated.

11.1 CHARACTERISTICS OF SD NUMBERS

In a conventional number representation with an integer radix r > 1, each digit is allowed to have exactly r values: 0,1, · · · , r − 1. In an SD representation with the same radix r, each digit is allowed to have more than r values. In the method of addition described below, each digit is allowed to have q different values where

image

Obviously q is more than r. Redundancy in the number representation allows a method of fast addition/subtraction called totally parallel addition/subtraction.

In the totally parallel addition/subtraction, the signed-digit representations are required to have a unique representation of zero. Thus the magnitude of allowed digit values may not exceed r − 1, since otherwise we could let a digit equal to r and represent zero by imager as well as 00.

Some characteristics of the SD numbers are as follows.

Let A = (an−1 · · · ak) be an SD number, we have

  1. where
  2. Let p = max{i|ai ≠ 0}, sign(an−1 · · · ak) = sign(ap) for (an−1 · · · ak) ≠ 0.

11.2 ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Computer Arithmetic and Validity

Computer Arithmetic and Validity

Ulrich Kulisch
Synthesis of Arithmetic Circuits: FPGA, ASIC and Embedded Systems

Synthesis of Arithmetic Circuits: FPGA, ASIC and Embedded Systems

Jean-Pierre Deschamps, Gery J.A. Bioul, Gustavo D. Sutter
Digital Arithmetic

Digital Arithmetic

Miloš D. Ercegovac, Tomás Lang
Computer Structure and Logic

Computer Structure and Logic

Pearson Certification

Publisher Resources

ISBN: 9780471469452Purchase book