quantize overloads
Synopses
Declared in <bdldfp_decimalimputil.h>
Return value with the quantum of exponent.
static
DecimalImpUtil::ValueType128
quantize(
ValueType128 value,
ValueType128 exponent);
Return value quantized to the specified exponent.
static
DecimalImpUtil::ValueType128
quantize(
ValueType128 value,
int exponent);
Return value with the quantum of exponent.
static
DecimalImpUtil::ValueType32
quantize(
ValueType32 value,
ValueType32 exponent);
Return value quantized to the specified exponent.
static
DecimalImpUtil::ValueType32
quantize(
ValueType32 value,
int exponent);
Return value with the quantum of exponent.
static
DecimalImpUtil::ValueType64
quantize(
ValueType64 value,
ValueType64 exponent);
Return value quantized to the specified exponent.
static
DecimalImpUtil::ValueType64
quantize(
ValueType64 value,
int exponent);
Return Value
-
valuewith the quantum ofexponent -
valuequantized to the specifiedexponent
Parameters
Name |
Description |
value |
value to quantize |
exponent |
value supplying the target quantum |
Created with MrDocs