Create a Decimal32 from raw significand and exponent.
Declared in <bdldfp_decimalutil.h>
static
Decimal32
makeDecimalRaw32(
int significand,
int exponent);
Create a Decimal32 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 <= significand <= 9,999,999 and -101 <= exponent <= 90.
Decimal32 value with the specified significand and exponent
| Name | Description |
|---|---|
| significand | coefficient of the decimal value |
| exponent | power of ten applied to significand |