Return a Decimal64 with the given significand and exponent.

Synopses

Declared in <bdldfp_decimalimputil.h>

Return a Decimal64 with the given significand and exponent.

static
ValueType64
makeDecimal64(
    int significand,
    int exponent);

Return a Decimal64 with the given significand and exponent.

static
ValueType64
makeDecimal64(
    long long significand,
    int exponent);

Return a Decimal64 with the given significand and exponent.

static
ValueType64
makeDecimal64(
    unsigned int significand,
    int exponent);

Return a Decimal64 with the given significand and exponent.

static
ValueType64
makeDecimal64(
    unsigned long long significand,
    int exponent);

Return Value

a Decimal64 with the given significand and exponent

Parameters

Name

Description

significand

coefficient of the decimal value

exponent

power of ten applied to significand

Created with MrDocs