quantize overloads
Declared in <bdldfp_decimalutil.h>
Same as the related overload above for quantize.
static
Decimal128
quantize(
Decimal128 value,
Decimal128 exponent);
» more...
Same as the overload taking Decimal64.
static
Decimal128
quantize(
Decimal128 value,
int exponent);
» more...
Return value with the same quantum as exponent.
static
Decimal32
quantize(
Decimal32 value,
Decimal32 exponent);
» more...
Return value with the specified decimal exponent.
static
Decimal32
quantize(
Decimal32 value,
int exponent);
» more...
Same as the related overload above for quantize.
static
Decimal64
quantize(
Decimal64 value,
Decimal64 exponent);
» more...
Same as the related overload above for quantize.
static
Decimal64
quantize(
Decimal64 value,
int exponent);
» more...
value with the same quantum as exponentvalue with the specified decimal exponent| Name | Description |
|---|---|
| value | decimal value to quantize |
| exponent | value whose quantum supplies the desired exponent |