BloombergLP::bdldfp::DecimalUtil::makeDecimalRaw32

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.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal32
makeDecimalRaw32(
    int significand,
    int exponent);