3.290. __nv_round

double @__nv_round(double %x)

Round to nearest integer value in floating-point.

Round x to the nearest integer value in floating-point format, with halfway cases rounded away from zero.

Note

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

Returns

Returns rounded integer value.