BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::binaryToDecimal128

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

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

static
DecimalImpUtil_IntelDfp::ValueType128
binaryToDecimal128(double value);

Return Value

closest 128-bit decimal representation of value

Parameters

NameDescription
valuebinary floating-point value to convert