BloombergLP::bdldfp::DecimalUtil::lround

lround overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the overload taking Decimal64.

static
long
lround(Decimal128 x);
» more...

Return the integral value nearest to the specified x. Round halfway cases away from zero, regardless of the current decimal floating point rounding mode.

static
long
lround(Decimal32 x);
» more...

Same as the related overload above for lround.

static
long
lround(Decimal64 x);
» more...