BloombergLP::bdldfp::DecimalImpUtil::binaryToDecimal64

binaryToDecimal64 overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

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

static
DecimalImpUtil::ValueType64
binaryToDecimal64(double value);
» more...

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

static
DecimalImpUtil::ValueType64
binaryToDecimal64(float value);
» more...