BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::convertToDecimal64

Convert a 128-bit decimal value to 64-bit decimal.

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

static
DecimalImpUtil_IntelDfp::ValueType64
convertToDecimal64(ValueType128 const& input);

Return Value

closest 64-bit decimal representation of input

Parameters

NameDescription
input128-bit decimal value to convert