Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-lj6df Total loading time: 0 Render date: 2024-11-14T17:32:39.417Z Has data issue: false hasContentIssue false

2 - Base and digit set conversion

Published online by Cambridge University Press:  05 March 2013

Peter Kornerup
Affiliation:
University of Southern Denmark
David W. Matula
Affiliation:
Southern Methodist University, Dallas
Get access

Summary

Introduction

Conversion of a number from one radix representation into another plays an important role in computing, the most obvious example being the conversion between the binary representation and the everyday decimal representation that occurs in most I/O operations. But, as we shall see later, many arithmetic algorithms depend heavily on the ability to convert between radix systems, because some algorithms may be faster if performed in higher radices, and in particular if redundant digit sets are exploited.

There is amazingly little published in the open literature on these subjects in their own right; most of what can be found is usually either very trivial, or embedded in the description of some particular application.

There are, however, many such results, e.g., in multioperand addition or in multiplication the accumulation of many summands is often performed in a redundant representation, and only at the end converted into a non-redundant representation. This final digit set conversion is traditionally described as an addition process, but one may also consider ordinary addition a special case of digit set conversion.

The characteristic idea in many algorithms for multiplication often lies in converting one of the factors into a redundant representation in a higher radix, but may not really be described as such, rather it is seen as some kind of trick. Similarly, in digit serial division algorithms the quotient may be delivered in a redundant representation, but has to be converted before it is delivered as the result.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×