roundf

Function roundf 

Source
pub unsafe extern "C" fn roundf(x: f32) -> f32
Expand description

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

Nvidia docs

ยงReturns

Returns rounded integer value. This function may be slower than alternate rounding methods. See rint().