BloombergLP::bdldfp::DecimalImpUtil::llrint

Return an integer value nearest to the specified x. Round x using the current rounding mode. If x is +/-infnity, NaN (either signaling or quiet) or the rounded value is outside the range of the return type, store the value of the macro EDOM into errno and return implementation-defined value.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
long long
llrint(ValueType32 x);