Skip to main content

yui_core/ext/
div_round.rs

1//! [`DivRound`]: integer division rounded to the nearest, halves away from zero.
2
3/// Division rounded to the nearest integer.
4pub trait DivRound {
5    fn div_round(&self, rhs: &Self) -> Self;
6}