Trait redox::floating_num::wrapping::OverflowingOps
[−]
[src]
pub trait OverflowingOps { fn overflowing_add(self, rhs: Self) -> (Self, bool); fn overflowing_sub(self, rhs: Self) -> (Self, bool); fn overflowing_mul(self, rhs: Self) -> (Self, bool); fn overflowing_div(self, rhs: Self) -> (Self, bool); fn overflowing_rem(self, rhs: Self) -> (Self, bool); fn overflowing_neg(self) -> (Self, bool); fn overflowing_shl(self, rhs: u32) -> (Self, bool); fn overflowing_shr(self, rhs: u32) -> (Self, bool); }
Unstable (
wrapping
): may be removed or relocated
Required Methods
fn overflowing_add(self, rhs: Self) -> (Self, bool)
Unstable (
wrapping
): may be removed or relocated
fn overflowing_sub(self, rhs: Self) -> (Self, bool)
Unstable (
wrapping
): may be removed or relocated
fn overflowing_mul(self, rhs: Self) -> (Self, bool)
Unstable (
wrapping
): may be removed or relocated
fn overflowing_div(self, rhs: Self) -> (Self, bool)
Unstable (
wrapping
): may be removed or relocated
fn overflowing_rem(self, rhs: Self) -> (Self, bool)
Unstable (
wrapping
): may be removed or relocated
fn overflowing_neg(self) -> (Self, bool)
Unstable (
wrapping
): may be removed or relocated
fn overflowing_shl(self, rhs: u32) -> (Self, bool)
Unstable (
wrapping
): may be removed or relocated
fn overflowing_shr(self, rhs: u32) -> (Self, bool)
Unstable (
wrapping
): may be removed or relocated
Implementors
impl OverflowingOps for i8
impl OverflowingOps for i16
impl OverflowingOps for i32
impl OverflowingOps for i64
impl OverflowingOps for u8
impl OverflowingOps for u16
impl OverflowingOps for u32
impl OverflowingOps for u64
impl OverflowingOps for usize
impl OverflowingOps for isize