BloombergLP::bdldfp::DecimalConvertUtil::decimalFromBID

decimalFromBID overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the related overload above for decimalFromBID.

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

Store, into the specified decimal, the native implementation representation of the value of the same size base-10 floating point value represented in Binary Integer 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 BID format.

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

Same as the related overload above for decimalFromBID.

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