pub fn round_ties_to_even(self) -> Self {
        Self {
            rep: round_ties_to_even(self.rep),
        }
    }
/// Rounds `self` to the closest integer, the even number in case of ties.
///
/// | Domain | Range |
/// | ------ | ----- |
/// | $\R$   | $\Z$  |
///
/// # Examples
///
/// ```
/// use inari::*;
/// assert_eq!(const_interval!(0.2, 1.2).round_ties_to_even(), const_interval!(0.0, 1.0));
/// assert_eq!(const_interval!(0.5, 1.5).round_ties_to_even(), const_interval!(0.0, 2.0));
/// assert_eq!(const_interval!(0.8, 1.8).round_ties_to_even(), const_interval!(1.0, 2.0));
/// assert_eq!(const_interval!(-1.2, -0.2).round_ties_to_even(), const_interval!(-1.0, 0.0));
/// assert_eq!(const_interval!(-1.5, -0.5).round_ties_to_even(), const_interval!(-2.0, 0.0));
/// assert_eq!(const_interval!(-1.8, -0.8).round_ties_to_even(), const_interval!(-2.0, -1.0));
/// assert_eq!(Interval::EMPTY.round_ties_to_even(), Interval::EMPTY);
/// assert_eq!(Interval::ENTIRE.round_ties_to_even(), Interval::ENTIRE);
/// ```
///
/// See also: [`Interval::round`].
Rounds `self` to the closest integer, the even number in case of ties.
Rounds ` self ` to the closest integer the even number in case of ties .
pub fn round_ties_to_even(self) -> Self {
        Self {
            rep: round_ties_to_even(self.rep),
        }
    }
pub fn round_ties_to_even ( self ) -> Self { Self { rep : round_ties_to_even ( self . rep ) , } }
Rounds `self` to the closest integer, the even number in case of ties.
Rounds ` self ` to the closest integer the even number in case of ties .
self
self
examples


See also: [`Interval::round`].
See also : [ ` Interval :: round ` ] .