Store into decimal the native value of the DPD data at buffer.

Synopsis

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

static
void
decimalFromDPD(
    Decimal32* decimal,
    unsigned char const* buffer);

Description

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

Parameters

Name

Description

decimal

destination decimal object

buffer

buffer containing DPD‐encoded value

Created with MrDocs