Enum num_bigfloat::RoundingMode
source · pub enum RoundingMode {
Up,
Down,
ToZero,
FromZero,
ToEven,
ToOdd,
}Expand description
Possible errors.
Variants§
Up
Round half toward positive infinity.
Down
Round half toward negative infinity.
ToZero
Round half toward zero.
FromZero
Round half away from zero.
ToEven
Round half to even.
ToOdd
Round half to odd.
Trait Implementations§
source§impl Clone for RoundingMode
impl Clone for RoundingMode
source§fn clone(&self) -> RoundingMode
fn clone(&self) -> RoundingMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more