BloombergLP::bdldfp::DecimalImpUtil::lrint

Return x rounded to the nearest long int using the current mode.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
long
lrint(ValueType128 x);

Return Value

x rounded to the nearest long int using the current mode

Parameters

NameDescription
xvalue to round