BloombergLP::bdldfp::DecimalUtil::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_decimalutil.h>

static
long long
llrint(Decimal32 x);