BloombergLP::bdldfp::DecimalConvertUtil_IntelDfp::decimal128FromDPD

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.

Synopsis

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

static
Decimal128
decimal128FromDPD(unsigned char const* buffer);