Create a raw ValueType128 from a significand and exponent.

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

static
DecimalImpUtil_IntelDfp::ValueType128
makeDecimalRaw128(
    unsigned long long significand,
    int exponent);

Description

Create a ValueType128 object representing a decimal floating point number consisting of the specified significand and exponent, with the sign given by significand. The behavior is undefined unless ‐6176 <= exponent <= 6111.

Return Value

the corresponding raw decimal128 value

Parameters

Name

Description

significand

integer significand

exponent

decimal exponent

Created with MrDocs