Trait nekolib::math::fraction_bisect::SbInt
source · pub trait SbInt: Copy + Eq + PartialOrd<Self> + AddAssign<Self> + Add<Self, Output = Self> + Mul<Self, Output = Self> + Display {
const ZERO: Self;
const ONE: Self;
const SIGNED: bool;
// Required methods
fn lt1(self, other: Self) -> bool;
fn avg(self, other: Self) -> Self;
fn abs(self) -> Self;
fn neg(self) -> Self;
fn steps(self, from: (Self, Self), to: (Self, Self)) -> Self;
}