makeDecimalRaw64 overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

Construct a raw 64‐bit decimal from a signed significand and exponent.

static
DecimalImpUtil::ValueType64
makeDecimalRaw64(
    int significand,
    int exponent);

Create a ValueType64 from the specified significand and exponent.

static
DecimalImpUtil::ValueType64
makeDecimalRaw64(
    long long significand,
    int exponent);

Construct a raw 64‐bit decimal value from the specified significand and exponent.

static
DecimalImpUtil::ValueType64
makeDecimalRaw64(
    unsigned int significand,
    int exponent);

Create a ValueType64 object representing a decimal floating point number consisting of the specified significand and exponent, with the sign given by significand. The behavior is undefined unless abs(significand) <= 9,999,999,999,999,999 and ‐398 <= exponent <= 369.

static
DecimalImpUtil::ValueType64
makeDecimalRaw64(
    unsigned long long significand,
    int exponent);

Created with MrDocs