pub struct Up;
Expand description
Round toward +∞
Trait Implementations
sourceimpl Round for Up
impl Round for Up
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 more
impl Copy for Up
Auto Trait Implementations
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