BloombergLP::bdldfp::DecimalImpUtil::ceil

Return the smallest integral value not less than x.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType128
ceil(ValueType128 x);

Return Value

the smallest integral value not less than x

Parameters

NameDescription
xvalue to round toward +infinity