BloombergLP::bdldfp::DecimalImpUtil::ceil

Return the smallest integral value not less than x.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType64
ceil(ValueType64 x);

Return Value

the smallest integral value not less than x

Parameters

NameDescription
xvalue to round toward +infinity