BloombergLP::bdldfp::DecimalConvertUtil_IntelDfp::decimalToDPD

decimalToDPD overloads

Synopses

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

Same as the related overload above for decimalToDPD.

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

Populate buffer with the DPD representation of decimal.

static
void
decimalToDPD(
    unsigned char* buffer,
    Decimal32 decimal);
» more...

Same as the overload taking Decimal32.

static
void
decimalToDPD(
    unsigned char* buffer,
    Decimal64 decimal);
» more...

Parameters

NameDescription
bufferreceives the DPD encoding
decimalvalue to encode