BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::binaryToDecimal32

binaryToDecimal32 overloads

Synopses

Declared in <bdldfp_decimalimputil_inteldfp.h>

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

static
DecimalImpUtil_IntelDfp::ValueType32
binaryToDecimal32(double value);
» more...

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

static
DecimalImpUtil_IntelDfp::ValueType32
binaryToDecimal32(float value);
» more...