Create a ValueType128 from significand and exponent.

Synopses

Declared in <bdldfp_decimalimputil.h>

Create a ValueType128 from significand and exponent.

static
DecimalImpUtil::ValueType128
makeDecimalRaw128(
    int significand,
    int exponent);

Create a ValueType128 from significand and exponent.

static
DecimalImpUtil::ValueType128
makeDecimalRaw128(
    long long significand,
    int exponent);

Create a ValueType128 from significand and exponent.

static
DecimalImpUtil::ValueType128
makeDecimalRaw128(
    unsigned int significand,
    int exponent);

Create a ValueType128 from significand and exponent.

static
DecimalImpUtil::ValueType128
makeDecimalRaw128(
    unsigned long long significand,
    int exponent);

Return Value

a ValueType128 from significand and exponent

Parameters

Name

Description

significand

coefficient of the decimal value

exponent

power of ten applied to significand

Created with MrDocs