quantize overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

Return value with the quantum of exponent.

Return value quantized to the specified exponent.

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

Return value with the quantum of exponent.

Return value quantized to the specified exponent.

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

Return value with the quantum of exponent.

Return value quantized to the specified exponent.

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

Return Value

  • value with the quantum of exponent

  • value quantized to the specified exponent

Parameters

Name

Description

value

value to quantize

exponent

value supplying the target quantum

Created with MrDocs