3.230. __nv_llround

i64 @__nv_llround(double %x)

Round to nearest integer value.

Round x to the nearest integer value, with halfway cases rounded away from zero. If the result is outside the range of the return type, the result is undefined.

Note

This function may be slower than alternate rounding methods. See ::llrint().

Returns

Returns rounded integer value.