Trait rugflo::MulRound
[−]
[src]
pub trait MulRound<T> { type Round; type Ordering; type Output; fn mul_round(self, _: T, _: Self::Round) -> (Self::Output, Self::Ordering); }
Provides multiplication with a specified rounding method.
Associated Types
type Round
The rounding method.
type Ordering
The direction from rounding.
type Output
The resulting type after the multiplication.
Required Methods
fn mul_round(self, _: T, _: Self::Round) -> (Self::Output, Self::Ordering)
Performs the multiplication.
Implementors
impl<'a> MulRound<&'a Float> for rugflo::Float
impl MulRound<Float> for rugflo::Float
impl<'a> MulRound<&'a Integer> for rugflo::Float
impl MulRound<Integer> for rugflo::Float
impl MulRound<Float> for Integer
impl<'a> MulRound<&'a Float> for Integer
impl<'a> MulRound<&'a Rational> for rugflo::Float
impl MulRound<Rational> for rugflo::Float
impl MulRound<Float> for Rational
impl<'a> MulRound<&'a Float> for Rational
impl MulRound<u32> for rugflo::Float
impl MulRound<Float> for u32
impl<'a> MulRound<&'a Float> for u32
impl MulRound<i32> for rugflo::Float
impl MulRound<Float> for i32
impl<'a> MulRound<&'a Float> for i32
impl MulRound<f64> for rugflo::Float
impl MulRound<Float> for f64
impl<'a> MulRound<&'a Float> for f64
impl MulRound<f32> for rugflo::Float