BloombergLP::bdldfp::DecimalConvertUtil::decimal128FromBID

decimal128FromBID overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Return the native implementation representation of the value of the same size base-10 floating-point value stored 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
Decimal128
decimal128FromBID(unsigned char const* buffer);
» more...

Same as the related overload above for decimal128FromBID.

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