BloombergLP::bdldfp::DecimalUtil::makeDecimalRaw64

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

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal64
makeDecimalRaw64(
    int significand,
    int exponent);