BloombergLP::bdldfp::DecimalImpUtil::nexttoward

Return the next representable value after from toward to.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType64
nexttoward(
    ValueType64 from,
    ValueType128 to);

Return Value

the next representable value after from toward to

Parameters

NameDescription
fromstarting value
todirection value