BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::binaryToDecimal128

binaryToDecimal128 overloads

Synopses

Declared in <bdldfp_decimalimputil_inteldfp.h>

Convert a binary double to the closest 128-bit decimal value.

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

Convert a binary float to the closest 128-bit decimal value.

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

Return Value

closest 128-bit decimal representation of value

Parameters

NameDescription
valuebinary floating-point value to convert