[−][src]Function avr_libc::round
pub unsafe extern "C" fn round(__x: f64) -> f64
The round() function rounds \a __x to the nearest integer, but rounds halfway cases away from zero (instead of to the nearest even integer). Overflow is impossible.
\return The rounded value. If \a __x is an integral or infinite, \a __x itself is returned. If \a __x is \c NaN, then \c NaN is returned.