Enum gmp_mpfr::Round
[−]
[src]
pub enum Round { Nearest, Zero, Up, Down, AwayFromZero, }
The rounding methods for floatin-point values.
Variants
Nearest
Round towards the nearest.
Zero
Round towards zero.
Up
Round towards plus infinity.
Down
Round towards minus infinity.
AwayFromZero
Round away from zero.
Trait Implementations
impl Clone for Round
[src]
fn clone(&self) -> Round
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Round
[src]
impl PartialEq for Round
[src]
fn eq(&self, __arg_0: &Round) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.