BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::convertToDecimal64

convertToDecimal64 overloads

Synopses

Declared in <bdldfp_decimalimputil_inteldfp.h>

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

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

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

static
DecimalImpUtil_IntelDfp::ValueType64
convertToDecimal64(ValueType32 const& input);
» more...

Return Value

  • closest 64-bit decimal representation of input
  • 64-bit decimal representation of input

Parameters

NameDescription
input128-bit decimal value to convert