BloombergLP::bdldfp::DecimalUtil::nexttoward

nexttoward overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the overload taking Decimal64.

static
Decimal128
nexttoward(
    Decimal128 from,
    Decimal128 to);
» more...

Return the next representable value of the specified from in the direction of the specified to.

static
Decimal32
nexttoward(
    Decimal32 from,
    Decimal128 to);
» more...

Same as the related overload above for nexttoward.

static
Decimal64
nexttoward(
    Decimal64 from,
    Decimal128 to);
» more...