BloombergLP::bdldfp::DecimalUtil::nexttoward

Same as the related overload above for nexttoward.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal64
nexttoward(
    Decimal64 from,
    Decimal128 to);

Return Value

next representable value of from toward to

Parameters

NameDescription
fromstarting value
todirection value