BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::binaryToDecimal64

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

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

static
DecimalImpUtil_IntelDfp::ValueType64
binaryToDecimal64(double value);

Return Value

closest 64-bit decimal representation of value

Parameters

NameDescription
valuebinary floating-point value to convert