Struct dashu_float::round::mode::Down
source · pub struct Down;Expand description
Round toward -∞
Trait Implementations
sourceimpl Round for Down
impl Round for Down
sourcefn round_low_part<F: FnOnce() -> Ordering>(
_integer: &IBig,
low_sign: Sign,
_low_half_test: F
) -> Rounding
fn round_low_part<F: FnOnce() -> Ordering>(
_integer: &IBig,
low_sign: Sign,
_low_half_test: F
) -> Rounding
Calculate the rounding of the number (integer + rem), assuming rem != 0 and |rem| < 1.
low_half_test should tell |rem|.cmp(0.5) Read moreimpl Copy for Down
Auto Trait Implementations
impl RefUnwindSafe for Down
impl Send for Down
impl Sync for Down
impl Unpin for Down
impl UnwindSafe for Down
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more