Return value quantized to the specified exponent.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType64
quantize(
    ValueType64 value,
    int exponent);

Return Value

value quantized to the specified exponent

Parameters

Name

Description

value

value to quantize

exponent

target quantum exponent

Created with MrDocs