BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::convertToBID

Convert a native decimal value to Binary Integral Decimal (BID) format.

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

static
DecimalStorage::Type32
convertToBID(ValueType32 value);

Description

Return a DecimalStorage::TypeXX representing the specified value in Binary Integral Decimal (BID) format. This format is compatible with the Intel DFP implementation type.

Return Value

BID-encoded storage value

Parameters

NameDescription
valuenative decimal value