pub trait OverflowingPow<RHS> {
    type Output;

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

Raises a number to a power.

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_pow functions in the standard library, for example this one.

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

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

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

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

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

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

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

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

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

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

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

Implementors