Create a Decimal128 from raw significand and exponent.
Synopsis
Declared in <bdldfp_decimalutil.h>
static
Decimal128
makeDecimalRaw128(
int significand,
int exponent);
Description
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.
Return Value
Decimal128 value with the specified significand and exponent
Parameters
Name |
Description |
significand |
coefficient of the decimal value |
exponent |
power of ten applied to |
Created with MrDocs