Skip to content

Commit c39529c

Browse files
committed
Add note on the difference between BID and DPD
1 parent f66a652 commit c39529c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/modules/ROOT/pages/conversions.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ https://www.boost.org/LICENSE_1_0.txt
99
:idprefix: conversions_
1010

1111
IEEE 754 specifies two different encodings for decimal floating point types: Binary Integer Significand Field (BID), and Densely Packed Decimal Significand Field (DPD).
12+
The former is designed for software implementations and the latter for hardware implementations.
1213
Internally this library is implemented in the BID format for the IEEE-754 compliant types.
1314
Should the user want to capture the bit format in BID or convert to DPD we offer a family of conversion functions: `to_bid`, `from_bid`, `to_dpd`, and `from_dpd` that allow conversion to or from the bit strings regardless of encoding.
1415

0 commit comments

Comments
 (0)