Radix Conversion in an Unnormalized Arithmetic System

نویسندگان

  • R. L. Ashenhurst
  • R. L. ASHENHURST
چکیده

Introduction. The question of radix conversion of variable-precision binary numbers arises naturally in the context of unnormalized number representation [1], but may be of interest in other situations where it is desired to have number representations carry a reflection of significance. The present paper discusses a method for binary-decimal conversion of unnormalized numbers; this method differs in certain respects from one previously developed, and described elsewhere [2], for use with the maniac III computer. The question of decimal-binary conversion, taking into account explicit "uncertainty" in the decimal representation, is also investigated from the significance viewpoint. Binary-Decimal Conversion. First, consider the task of converting a number in unnormalized floating point binary form to a decimal in such a way that a discrepancy in the lowest-order binary digit corresponds to a discrepancy in the lowestorder decimal digit in the result (the standard maniac III routine for doing this has a "guard bit" provision for specifying a position other than the lowest-order one, but this feature can be incorporated by a preliminary transformation and so is neglected in the development here). The question of whether the decimal exponent of the result is represented explicitly or by the insertion of a decimal point character is irrelevant to the present discussion ; it will be assumed that the desired output is a string of decimal characters, representing an integer, and a second integer specifying an associated power of 10. Since 2~l = 10~ , equivalent precision in binary and decimal is given by numbers of digits in roughly the ratio 10 to 3; one could, of course, simply keep a count of decimal characters generated in a standard conversion procedure and stop at some approximately appropriate point. It seems not unreasonable, however, to ask for a conversion procedure which affords the user a more precise statement of the relation between the binary form and the decimal result. The observation that the exact conversion of integers gives also a true estimate of precision (i.e., the 10-for-3 criterion is naturally achieved), suggests that binary-decimal conversion can be accomplished by first transforming the floating point number to an integer expressed with the same significance, which differs from the original number only by a power of 10, and then taking the converted representation of this integer as the desired decimal string. Both the earlier method [2] and the one here described are based on this notion; the main difference centers around the preliminary transformation. It is believed that certain formal advantages accrue from the present approach, particularly with respect to the straightforward representation of the conversion error. Description of the Conversion. It is assumed that a sign-and-magnitude decimal representation is desired, so that negative numbers are made positive before con-

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Low Complexity Converter for the Moduli Set {2^n+1,2^n-1,2^n} in Two-Part Residue Number System

Residue Number System is a kind of numerical systems that uses the remainder of division in several different moduli. Conversion of a number to smaller ones and carrying out parallel calculations on these numbers will increase the speed of the arithmetic operations in this system. However, the main factor that affects performance of system is hardware complexity of reverse converter. Reverse co...

متن کامل

Comments on “An Arithmetic Free Parallel Mixed-Radix Conversion Algorithm” Submitted to IEEE Trans. Circuits and Systems

In a recently published paper “An Arithmetic Free Parallel Mixed-Radix Conversion Algorithm”, two algorithms based on look-up tables for mixed-radix conversion are presented. Here we show that one of the algorithms had been prior published in 1978, and we also take this opportunity to speak to the use of look-up tables for RNS with present and future technologies.

متن کامل

An Algorithm for Magnitude Comparison in RNS based on Mixed-Radix Conversion II

The residue number system (RNS) has computational advantages for large integer arithmetic because of its parallel carry free, and high-speed arithmetic nature. However, magnitude comparison is a very complex operation for RNS. This paper presents a new comparison algorithm based on the modification of Mixed-Radix Conversion II technique. The new algorithm uses small modulo operations only and h...

متن کامل

New Area Efficient Residue-to-weighted Number System Converters

Residue number system is popular in high performance arithmetic applications like digital signal processing because of its carry free nature, modularity and error correcting properties. But these opportunities are eclipsed by the high area and time requirements for reverse conversion. In this regard, we present two new techniques for residue-toweighted number system conversion. The first one is...

متن کامل

Comments on " an Arithmetic Free Parallel Mixed-radix Conversion Algorithm "

In the above paper, two algorithms based on look-up tables for mixed-radix conversion are presented. Here, we show that one of the algorithms had been previously published in 1978, and we also take this opportunity to speak of the use of look-up tables for the residue number system with present and future technologies.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010