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 from toward 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...

Return Value

next representable value of from toward to

Parameters

NameDescription
fromstarting value
todirection value