BloombergLP::bdldfp::DecimalUtil::ceil

ceil overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the overload taking Decimal64.

static
Decimal128
ceil(Decimal128 x);
» more...

Return the smallest integral value that is not less than x.

static
Decimal32
ceil(Decimal32 x);
» more...

Same as the related overload above for ceil.

static
Decimal64
ceil(Decimal64 x);
» more...

Return Value

smallest integral value that is not less than x

Parameters

NameDescription
xvalue to round toward +infinity