Return x rounded to the nearest long long int.
Synopsis
Declared in <bdldfp_decimalimputil.h>
static
long long
llrint(ValueType32 x);
Description
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.
Return Value
x rounded to the nearest long long int
Parameters
Name |
Description |
x |
value to round |
Created with MrDocs