BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::convertToDecimal32

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

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

static
DecimalImpUtil_IntelDfp::ValueType32
convertToDecimal32(ValueType64 const& input);

Return Value

closest 32-bit decimal representation of input

Parameters

NameDescription
input64-bit decimal value to convert