16.07.2014 Views

DRAFT IEEE Standard for Binary Floating-Point Arithmetic - Sonic.net

DRAFT IEEE Standard for Binary Floating-Point Arithmetic - Sonic.net

DRAFT IEEE Standard for Binary Floating-Point Arithmetic - Sonic.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DRAFT</strong> <strong>IEEE</strong> <strong>Standard</strong> <strong>for</strong> <strong>Floating</strong>-<strong>Point</strong> <strong>Arithmetic</strong> – 2003 August 12 10:20<br />

Encoding Densely Packed Decimal<br />

Table 1d encodes 3 decimal digits d (1) , d (2) , and d (3), each having 4 bits<br />

which can be expressed by a second subscript d (1,0:3) , d (2,0:3) , and d (3,0:3),<br />

where bit 0 is the most significant and bit 3 the least significant, into a declet,<br />

with 10 bits b (0) to b (9) . <strong>Arithmetic</strong> operations generate only the 1000 10-bit<br />

patterns defined by table 1d.<br />

d(1,0), d(2,0),<br />

d(3,0)<br />

b(0),b(1),b(2) b(3),b(4),b(5) b(6) b(7),b(8),b(9)<br />

0 0 0 d(1,1:3) d(2,1:3) 0 d(3,1:3)<br />

0 0 1 d(1,1:3) d(2,1:3) 1 0, 0, d(3,3)<br />

0 1 0 d(1,1:3) d(3,1:2),d(2,3) 1 0, 1, d(3,3)<br />

0 1 1 d(1,1:3) 1, 0, d(2,3) 1 1, 1, d(3,3)<br />

1 0 0 d(3,1:2),d(1,3) d(2,1:3) 1 1, 0, d(3,3)<br />

1 0 1 d(2,1:2),d(1,3) 0, 1, d(2,3) 1 1, 1, d(3,3)<br />

1 1 0 d(3,1:2),d(1,3) 0, 0, d(2,3) 1 1, 1, d(3,3)<br />

1 1 1 0, 0, d(1,3) 1, 1, d(2,3) 1 1, 1, d(3,3)<br />

Table 1d: Encoding 3 Decimal Digits to 10-bit Densely Packed Decimal<br />

Copyright © 2003 by the Institute of Electrical and Electronics Engineers, Inc. This document is an unapproved<br />

draft of a proposed <strong>IEEE</strong>-SA <strong>Standard</strong> - USE AT YOUR OWN RISK. See statement on page 1.<br />

Page 28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!