Browse Prior Art Database

Binary to Decimal Number Conversion

IP.com Disclosure Number: IPCOM000055045D
Original Publication Date: 1980-May-01
Included in the Prior Art Database: 2005-Feb-13

Publishing Venue

IBM

Related People

Authors:
Havender, JW [+details]

Abstract

A binary number, expressed as a fraction (i.e.., less than 1) is converted to a decimal fraction in packed form as an essential step in the procedure of converting a binary floating point number to decimal format. The method employs two registers P and D each of length n + g, a binary adder, a shifter, and control circuitry. n is the length of the binary fraction, and g is the number of guard bits used to control the effect of truncation error. For the purpose of describing the procedure, the registers D and P are partitioned into four-bit groups, as shown in the drawing. Register P will contain the result, but initially it is set to zeroes. Register D is loaded with the binary fraction to be converted, the most significant bit being to the left.