BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::binaryToDecimal32

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

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

static
DecimalImpUtil_IntelDfp::ValueType32
binaryToDecimal32(double value);

Return Value

closest 32-bit decimal representation of value

Parameters

NameDescription
valuebinary floating-point value to convert