BloombergLP::bdldfp::DecimalUtil::nexttoward

Same as the overload taking Decimal64.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal128
nexttoward(
    Decimal128 from,
    Decimal128 to);

Return Value

next representable value of from toward to

Parameters

NameDescription
fromstarting value
todirection value