pub trait OverflowingMul<RHS = Self> {
    type Output;

    fn overflowing_mul(self, other: RHS) -> (Self::Output, bool);
}
Expand description

Multiplies two numbers.

Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow occurred. If an overflow occurred, then the wrapped number is returned.

Required Associated Types

Required Methods

Implementations on Foreign Types

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

This is a wrapper over the overflowing_mul functions in the standard library, for example this one.

Implementors