lround overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

Return x rounded to the nearest long value.

static
long
lround(ValueType128 x);

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(ValueType32 x);

Return x rounded to the nearest long value.

static
long
lround(ValueType64 x);

Created with MrDocs