Create a Decimal128 from raw significand and exponent.
Declared in <bdldfp_decimalutil.h>
static
Decimal128
makeDecimalRaw128(
int significand,
int exponent);
Create a Deciaml128 object representing a decimal floating point number consisting of the specified significand and specified exponent, with the sign given by the significand (if signed). The behavior is undefined unless -6176 <= exponent <= 6111.
Decimal128 value with the specified significand and exponent
| Name | Description |
|---|---|
| significand | coefficient of the decimal value |
| exponent | power of ten applied to significand |