BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::binaryToDecimal128

binaryToDecimal128 overloads

Synopses

Declared in <bdldfp_decimalimputil_inteldfp.h>

Convert the specified binary floating-point value to decimal128.

static
DecimalImpUtil_IntelDfp::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_IntelDfp::ValueType128
binaryToDecimal128(float value);
» more...