BloombergLP::bdldfp::DecimalConvertUtil::decimal128FromDPD

decimal128FromDPD overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Return the native implementation representation of the value of the same size base-10 floating-point value stored in Densely Packed Decimal format at the specified buffer address. The behavior is undefined unless buffer points to a memory area at least sizeof(decimal) in size containing a value in DPD format.

static
Decimal128
decimal128FromDPD(unsigned char const* buffer);
» more...

Same as the overload taking Decimal32.

static
void
decimal128FromDPD(
    Decimal128* decimal,
    unsigned char const* buffer);
» more...