Binary integer decimal: Difference between revisions

Content deleted Content added
reverted latest change: not in encyclopedic style and difficult to understand; unusual and non-standard term "coefficient"; details should not be in the LEDE.
removed a sentence unrelated to BID from the LEDE and joined the remaining last two sentences
 
Line 19:
-->
 
Both formats break a number down into a sign bit ''s'', an exponent ''q'' (between ''q''<sub>min</sub> and ''q''<sub>max</sub>), and a ''p''-digit significand ''c'' (between 0 and 10<sup>''p''</sup>−1). The value encoded is (&minus;1)<sup>''s''</sup>×10<sup>''q''</sup>×''c''. In both formats the range of possible values is identical, but they differ in how the significand ''c'' is represented. In the decimal encoding, it is encoded as a series of ''p'' decimal digits (using the [[densely packed decimal]] (DPD) encoding). This makes conversion to decimal form efficient, but requires a specialized decimal [[Arithmetic logic unit|ALU]] to process. while Inin the '''binary integer decimal''' ('''BID''') encoding, it is encoded as a binary number.
 
==Format==