BloombergLP::bdldfp::DecimalUtil::nextafter

Return the next representable value of from toward to.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal32
nextafter(
    Decimal32 from,
    Decimal32 to);

Return Value

next representable value of from toward to

Parameters

NameDescription
fromstarting value
todirection value