BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::convertToDecimal128

convertToDecimal128 overloads

Synopses

Declared in <bdldfp_decimalimputil_inteldfp.h>

Convert a decimal value to the closest 128-bit decimal representation.

static
DecimalImpUtil_IntelDfp::ValueType128
convertToDecimal128(ValueType32 const& input);
» more...

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

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

Return Value

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

Parameters

NameDescription
inputdecimal value to convert