BloombergLP::bdldfp::DecimalImpUtil::binaryToDecimal128

binaryToDecimal128 overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

Return the 128-bit decimal value closest to the specified value.

static
DecimalImpUtil::ValueType128
binaryToDecimal128(double value);
» more...

Create a Decimal128 object having the value closest to the specified value following the conversion rules as defined by IEEE-754:

static
DecimalImpUtil::ValueType128
binaryToDecimal128(float value);
» more...