BloombergLP::bdldfp::DecimalConvertUtil_IntelDfp::decimalFromBID

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.

Synopsis

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

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