BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::convertDPDtoBID

Convert a Densely Packed Decimal (DPD) value to BID encoding.

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

static
DecimalImpUtil_IntelDfp::ValueType32
convertDPDtoBID(DecimalStorage::Type32 dpd);

Description

Return a ValueTypeXX representing the specified dpd, which is currently in Densely Packed Decimal (DPD) format. This format is compatible with the IBM compiler's native type.

Return Value

native BID-encoded decimal value

Parameters

NameDescription
dpdDPD-encoded storage value