BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::binaryToDecimal64

binaryToDecimal64 overloads

Synopses

Declared in <bdldfp_decimalimputil_inteldfp.h>

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

static
DecimalImpUtil_IntelDfp::ValueType64
binaryToDecimal64(double value);
» more...

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

static
DecimalImpUtil_IntelDfp::ValueType64
binaryToDecimal64(float value);
» more...

Return Value

closest 64-bit decimal representation of value

Parameters

NameDescription
valuebinary floating-point value to convert