BloombergLP::bdldfp::DecimalConvertUtil_IntelDfp::decimal128FromDPD

Return the native value of the DPD encoding at buffer.

Synopsis

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

static
Decimal128
decimal128FromDPD(unsigned char const* buffer);

Description

The behavior is undefined unless buffer points to a memory area at least sizeof(Decimal128) in size containing a value in DPD format.

Return Value

native representation of the DPD value

Parameters

NameDescription
bufferbuffer containing DPD-encoded value