Struct sp_arithmetic::rational::RationalInfinite [−][src]
pub struct RationalInfinite(_, _);
Expand description
A wrapper for any rational number with infinitely large numerator and denominator.
This type exists to facilitate cmp
operation
on values like a/b < c/d
where a, b, c, d
are all BigUint
.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for RationalInfinite
impl Send for RationalInfinite
impl Sync for RationalInfinite
impl Unpin for RationalInfinite
impl UnwindSafe for RationalInfinite
Blanket Implementations
Mutably borrows from an owned value. Read more
Consume self to return an equivalent value of T
.