Struct dashu_int::UBig

source ·
#[repr(transparent)]
pub struct UBig(/* private fields */);
Expand description

An unsigned arbitrary precision integer.

This struct represents an arbitrarily large unsigned integer. Technically the size of the integer is bounded by the memory size, but it’s enough for practical use on modern devices.

Parsing and printing

To create a UBig instance, there are three ways:

  1. Use predifined constants (e.g. UBig::ZERO, UBig::ONE).
  2. Use the literal macro ubig! defined in the dashu-macro crate.
  3. Parse from a string.

Parsing from either literal or string supports representation with base 2~36.

For printing, the UBig type supports common formatting traits (Display, Debug, LowerHex, etc.). Specially, printing huge number using Debug will conveniently omit the middle digits of the number, only print the least and most significant (decimal) digits.

// parsing
let a = UBig::from(408580953453092208335085386466371u128);
let b = UBig::from(0x1231abcd4134u64);
let c = UBig::from_str_radix("a2a123bbb127779cccc123", 32)?;
let d = UBig::from_str_radix("1231abcd4134", 16)?;
assert_eq!(a, c);
assert_eq!(b, d);

// printing
assert_eq!(format!("{}", UBig::from(12u8)), "12");
assert_eq!(format!("{:#X}", UBig::from(0xabcdu16)), "0xABCD");
if Word::BITS == 64 {
    // number of digits to display depends on the word size
    assert_eq!(
        format!("{:?}", UBig::ONE << 1000),
        "1071508607186267320..4386837205668069376"
    );
}

Memory

Integers that fit in a DoubleWord will be inlined on stack and no heap allocation will be invoked. For large integers, they will be represented as an array of Words, and stored on heap.

Note that the UBig struct has a niche bit, therefore it can be used within simple enums with no memory overhead.

use core::mem::size_of;
assert_eq!(size_of::<UBig>(), size_of::<Option<UBig>>());

Implementations§

source§

impl UBig

source

pub fn set_bit(&mut self, n: usize)

Set the n-th bit, n starts from 0.

Examples
let mut a = UBig::from(0b100u8);
a.set_bit(0);
assert_eq!(a, UBig::from(0b101u8));
a.set_bit(10);
assert_eq!(a, UBig::from(0b10000000101u16));
source

pub fn clear_bit(&mut self, n: usize)

Clear the n-th bit, n starts from 0.

Examples
let mut a = UBig::from(0b101u8);
a.clear_bit(0);
assert_eq!(a, UBig::from(0b100u8));
source

pub fn trailing_zeros(&self) -> Option<usize>

Returns the number of trailing zeros in the binary representation.

In other words, it is the largest n such that 2 to the power of n divides the number.

For 0, it returns None.

Examples
assert_eq!(UBig::from(17u8).trailing_zeros(), Some(0));
assert_eq!(UBig::from(48u8).trailing_zeros(), Some(4));
assert_eq!(UBig::from(0b101000000u16).trailing_zeros(), Some(6));
assert_eq!(UBig::ZERO.trailing_zeros(), None);
source

pub fn trailing_ones(&self) -> Option<usize>

Returns the number of trailing ones in the binary representation.

In other words, it is the number of trailing zeros of it added by one.

This method never returns None.

Examples
assert_eq!(UBig::from(17u8).trailing_ones(), Some(1));
assert_eq!(UBig::from(48u8).trailing_ones(), Some(0));
assert_eq!(UBig::from(0b101001111u16).trailing_ones(), Some(4));
assert_eq!(UBig::ZERO.trailing_ones(), Some(0));
source

pub fn split_bits(self, n: usize) -> (UBig, UBig)

Split this integer into low bits and high bits.

Its returns are equal to (self & ((1 << n) - 1), self >> n).

Examples
let (lo, hi) = UBig::from(0b10100011u8).split_bits(4);
assert_eq!(hi, UBig::from(0b1010u8));
assert_eq!(lo, UBig::from(0b0011u8));

let x = UBig::from(0x90ffff3450897234u64);
let (lo, hi) = x.clone().split_bits(21);
assert_eq!(hi, (&x) >> 21);
assert_eq!(lo, x & ((UBig::ONE << 21) - 1u8));
source

pub fn clear_high_bits(&mut self, n: usize)

Clear the high bits from n+1-th bit.

This operation is equivalent to getting the lowest n bits on the integer i.e. self &= ((1 << n) - 1).

Examples
let mut x = UBig::from(0b10100011u8);
x.clear_high_bits(4);
assert_eq!(x, UBig::from(0b0011u8));

let mut x = UBig::from(0x90ffff3450897234u64);
let lo = (&x) & ((UBig::ONE << 21) - 1u8);
x.clear_high_bits(21);
assert_eq!(x, lo);
source

pub fn count_ones(&self) -> usize

Count the 1 bits in the integer

Examples
assert_eq!(UBig::from(0b10100011u8).count_ones(), 4);
assert_eq!(UBig::from(0x90ffff3450897234u64).count_ones(), 33);

let x = (UBig::ONE << 150) - 1u8;
assert_eq!(x.count_ones(), x.bit_len());
source

pub fn count_zeros(&self) -> Option<usize>

Count the 0 bits in the integer after the leading bit 1.

If the integer is zero, None will be returned.

Examples
assert_eq!(UBig::from(0b10100011u8).count_zeros(), Some(4));
assert_eq!(UBig::from(0x90ffff3450897234u64).count_zeros(), Some(31));

let x = (UBig::ONE << 150) - 1u8;
assert_eq!(x.count_zeros(), Some(0));
source§

impl UBig

source

pub fn from_le_bytes(bytes: &[u8]) -> UBig

Construct from little-endian bytes.

Examples
assert_eq!(UBig::from_le_bytes(&[3, 2, 1]), UBig::from(0x010203u32));
source

pub fn from_be_bytes(bytes: &[u8]) -> UBig

Construct from big-endian bytes.

Examples
assert_eq!(UBig::from_be_bytes(&[1, 2, 3]), UBig::from(0x010203u32));
source

pub fn to_le_bytes(&self) -> Box<[u8]>

Return little-endian bytes.

Examples
assert!(UBig::ZERO.to_le_bytes().is_empty());
assert_eq!(*UBig::from(0x010203u32).to_le_bytes(), [3, 2, 1]);
source

pub fn to_be_bytes(&self) -> Box<[u8]>

Return big-endian bytes.

Examples
assert!(UBig::ZERO.to_be_bytes().is_empty());
assert_eq!(*UBig::from(0x010203u32).to_be_bytes(), [1, 2, 3]);
source

pub fn to_f32(&self) -> Approximation<f32, Sign>

Convert to f32.

Round to nearest, breaking ties to even last bit. The returned approximation is exact if the integer is exactly representable by f32, otherwise the error field of the approximation contains the sign of result - self.

Examples
assert_eq!(UBig::from(134u8).to_f32().value(), 134.0f32);
source

pub fn to_f64(&self) -> Approximation<f64, Sign>

Convert to f64.

Round to nearest, breaking ties to even last bit. The returned approximation is exact if the integer is exactly representable by f64, otherwise the error field of the approximation contains the sign of result - self.

Examples
assert_eq!(UBig::from(134u8).to_f64().value(), 134.0f64);
source

pub fn as_ibig(&self) -> &IBig

Regard the number as a IBig number and return a reference of IBig type.

Examples
assert_eq!(UBig::from(123u8).as_ibig(), &IBig::from(123));
source§

impl UBig

source

pub fn in_radix(&self, radix: u32) -> InRadix<'_>

Representation in a given radix.

Panics

Panics if radix is not between 2 and 36 inclusive.

Examples
assert_eq!(format!("{}", UBig::from(83u8).in_radix(3)), "10002");
assert_eq!(format!("{:+010}", UBig::from(35u8).in_radix(36)), "+00000000z");
source§

impl UBig

source

pub fn ilog(&self, base: &UBig) -> usize

Calculate the (truncated) logarithm of the UBig

This function could takes a long time when the integer is very large. In applications where an exact result is not necessary, log2_bounds could be used.

Panics

Panics if the number is 0, or the base is 0 or 1

Examples
let base = UBig::from(3u8);
assert_eq!(UBig::from(81u8).ilog(&base), 4);
assert_eq!(UBig::from(1000u16).ilog(&base), 6);
source§

impl UBig

source

pub fn sqr(&self) -> UBig

Calculate the square of the number (x * x).

Examples
assert_eq!(UBig::from(3u8).sqr(), UBig::from(9u8));
source

pub fn cubic(&self) -> UBig

Compute the cubic of the number (self * self * self).

Examples
assert_eq!(UBig::from(3u8).cubic(), UBig::from(27u8));
source§

impl UBig

source

pub fn from_str_radix(src: &str, radix: u32) -> Result<UBig, ParseError>

Convert a string in a given base to UBig.

src may contain an optional + prefix. Digits 10-35 are represented by a-z or A-Z.

Examples
assert_eq!(UBig::from_str_radix("+7ab", 32)?, UBig::from(7499u16));
source

pub fn from_str_with_radix_prefix(src: &str) -> Result<(UBig, u32), ParseError>

Convert a string with an optional radix prefix to UBig, returns the parsed integer and radix.

It’s equivalent to UBig::from_str_with_radix_default with 10 as the default radix.

source

pub fn from_str_with_radix_default( src: &str, default_radix: u32 ) -> Result<(UBig, u32), ParseError>

Convert a string with an optional radix prefix to UBig, returns the parsed integer and radix. If no prefix is present, then the default radix input will be used for parsing.

src may contain an optional + before the radix prefix.

Allowed prefixes: 0b for binary, 0o for octal, 0x for hexadecimal.

Examples
assert_eq!(UBig::from_str_with_radix_default("+0o17", 10)?, (UBig::from(0o17u8), 8));
assert_eq!(UBig::from_str_with_radix_default("0x1f", 10)?.0, UBig::from(0x1fu8));
source§

impl UBig

source

pub fn pow(&self, exp: usize) -> UBig

Raises self to the power of exp.

Examples
assert_eq!(UBig::from(3u8).pow(3), UBig::from(27u8));
source§

impl UBig

source

pub fn remove(&mut self, factor: &UBig) -> Option<usize>

Divide out all multiples of the factor from the integer, returns the exponent of the removed factor.

For self = 0 or factor = 0 or 1, this method returns None.

source§

impl UBig

source

pub fn nth_root(&self, n: usize) -> UBig

Calculate the nth-root of the integer rounding towards zero

Examples
assert_eq!(UBig::from(4u8).nth_root(2), UBig::from(2u8));
assert_eq!(UBig::from(4u8).nth_root(3), UBig::from(1u8));
assert_eq!(UBig::from(1024u16).nth_root(5), UBig::from(4u8));
Panics

If n is zero

source§

impl UBig

source

pub const ZERO: Self = _

UBig with value 0

source

pub const ONE: Self = _

UBig with value 1

source

pub fn as_words(&self) -> &[Word]

Get the raw representation in Words.

If the number is zero, then empty slice will be returned.

Examples
assert_eq!(UBig::ZERO.as_words(), &[] as &[Word]);
assert_eq!(UBig::ONE.as_words(), &[1]);
source

pub const fn from_word(word: Word) -> Self

Create a UBig from a single Word.

Examples
const ZERO: UBig = UBig::from_word(0);
assert_eq!(ZERO, UBig::ZERO);
const ONE: UBig = UBig::from_word(1);
assert_eq!(ONE, UBig::ONE);
source

pub const fn from_dword(dword: DoubleWord) -> Self

Create a UBig from a DoubleWord.

Examples
const ZERO: UBig = UBig::from_dword(0);
assert_eq!(ZERO, UBig::ZERO);
const ONE: UBig = UBig::from_dword(1);
assert_eq!(ONE, UBig::ONE);
source

pub fn from_words(words: &[Word]) -> Self

Convert a sequence of Words into a UBig

Examples
assert_eq!(UBig::from_words(&[] as &[Word]), UBig::ZERO);
assert_eq!(UBig::from_words(&[1]), UBig::ONE);
assert_eq!(UBig::from_words(&[1, 1]), (UBig::ONE << Word::BITS as usize) + UBig::ONE);
source

pub const fn is_zero(&self) -> bool

Check whether the value is 0

Examples
assert!(UBig::ZERO.is_zero());
assert!(!UBig::ONE.is_zero());
source

pub const fn is_one(&self) -> bool

Check whether the value is 1

Examples
assert!(!UBig::ZERO.is_one());
assert!(UBig::ONE.is_one());

Trait Implementations§

source§

impl AbsEq<IBig> for UBig

source§

fn abs_eq(&self, rhs: &IBig) -> bool

source§

impl AbsEq<UBig> for IBig

source§

fn abs_eq(&self, rhs: &UBig) -> bool

source§

impl AbsOrd<IBig> for UBig

source§

fn abs_cmp(&self, rhs: &IBig) -> Ordering

source§

impl AbsOrd<UBig> for IBig

source§

fn abs_cmp(&self, rhs: &UBig) -> Ordering

source§

impl<'l, 'r> Add<&'r IBig> for &'l UBig

§

type Output = IBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &IBig) -> IBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r IBig> for UBig

§

type Output = IBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &IBig) -> IBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> IBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r UBig> for IBig

§

type Output = IBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> IBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r UBig> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r UBig> for u128

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r UBig> for u16

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r UBig> for u32

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r UBig> for u64

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r UBig> for u8

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r UBig> for usize

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u128) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r u128> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u128) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u16) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r u16> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u16) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u32) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r u32> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u32) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u64) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r u64> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u64) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u8) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r u8> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &u8) -> UBig

Performs the + operation. Read more
source§

impl<'l, 'r> Add<&'r usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &usize) -> UBig

Performs the + operation. Read more
source§

impl<'r> Add<&'r usize> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: &usize) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<IBig> for &'l UBig

§

type Output = IBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: IBig) -> IBig

Performs the + operation. Read more
source§

impl Add<IBig> for UBig

§

type Output = IBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: IBig) -> IBig

Performs the + operation. Read more
source§

impl<'l> Add<UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> IBig

Performs the + operation. Read more
source§

impl<'l> Add<UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl Add<UBig> for IBig

§

type Output = IBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> IBig

Performs the + operation. Read more
source§

impl Add<UBig> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl Add<UBig> for u128

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl Add<UBig> for u16

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl Add<UBig> for u32

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl Add<UBig> for u64

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl Add<UBig> for u8

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl Add<UBig> for usize

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: UBig) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u128) -> UBig

Performs the + operation. Read more
source§

impl Add<u128> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u128) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u16) -> UBig

Performs the + operation. Read more
source§

impl Add<u16> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u16) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u32) -> UBig

Performs the + operation. Read more
source§

impl Add<u32> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u32) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u64) -> UBig

Performs the + operation. Read more
source§

impl Add<u64> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u64) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u8) -> UBig

Performs the + operation. Read more
source§

impl Add<u8> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: u8) -> UBig

Performs the + operation. Read more
source§

impl<'l> Add<usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: usize) -> UBig

Performs the + operation. Read more
source§

impl Add<usize> for UBig

§

type Output = UBig

The resulting type after applying the + operator.
source§

fn add(self, rhs: usize) -> UBig

Performs the + operation. Read more
source§

impl AddAssign<&UBig> for IBig

source§

fn add_assign(&mut self, rhs: &UBig)

Performs the += operation. Read more
source§

impl AddAssign<&UBig> for UBig

source§

fn add_assign(&mut self, rhs: &UBig)

Performs the += operation. Read more
source§

impl AddAssign<&u128> for UBig

source§

fn add_assign(&mut self, rhs: &u128)

Performs the += operation. Read more
source§

impl AddAssign<&u16> for UBig

source§

fn add_assign(&mut self, rhs: &u16)

Performs the += operation. Read more
source§

impl AddAssign<&u32> for UBig

source§

fn add_assign(&mut self, rhs: &u32)

Performs the += operation. Read more
source§

impl AddAssign<&u64> for UBig

source§

fn add_assign(&mut self, rhs: &u64)

Performs the += operation. Read more
source§

impl AddAssign<&u8> for UBig

source§

fn add_assign(&mut self, rhs: &u8)

Performs the += operation. Read more
source§

impl AddAssign<&usize> for UBig

source§

fn add_assign(&mut self, rhs: &usize)

Performs the += operation. Read more
source§

impl AddAssign<UBig> for IBig

source§

fn add_assign(&mut self, rhs: UBig)

Performs the += operation. Read more
source§

impl AddAssign<UBig> for UBig

source§

fn add_assign(&mut self, rhs: UBig)

Performs the += operation. Read more
source§

impl AddAssign<u128> for UBig

source§

fn add_assign(&mut self, rhs: u128)

Performs the += operation. Read more
source§

impl AddAssign<u16> for UBig

source§

fn add_assign(&mut self, rhs: u16)

Performs the += operation. Read more
source§

impl AddAssign<u32> for UBig

source§

fn add_assign(&mut self, rhs: u32)

Performs the += operation. Read more
source§

impl AddAssign<u64> for UBig

source§

fn add_assign(&mut self, rhs: u64)

Performs the += operation. Read more
source§

impl AddAssign<u8> for UBig

source§

fn add_assign(&mut self, rhs: u8)

Performs the += operation. Read more
source§

impl AddAssign<usize> for UBig

source§

fn add_assign(&mut self, rhs: usize)

Performs the += operation. Read more
source§

impl Binary for UBig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl<'l, 'r> BitAnd<&'r UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> UBig

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r UBig> for &'l u128

§

type Output = u128

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u128

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r UBig> for &'l u16

§

type Output = u16

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u16

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r UBig> for &'l u32

§

type Output = u32

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u32

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r UBig> for &'l u64

§

type Output = u64

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u64

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r UBig> for &'l u8

§

type Output = u8

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u8

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r UBig> for &'l usize

§

type Output = usize

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> usize

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r UBig> for UBig

§

type Output = UBig

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> UBig

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r UBig> for u128

§

type Output = u128

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u128

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r UBig> for u16

§

type Output = u16

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u16

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r UBig> for u32

§

type Output = u32

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u32

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r UBig> for u64

§

type Output = u64

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u64

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r UBig> for u8

§

type Output = u8

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> u8

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r UBig> for usize

§

type Output = usize

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &UBig) -> usize

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r u128> for &'l UBig

§

type Output = u128

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u128) -> u128

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r u128> for UBig

§

type Output = u128

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u128) -> u128

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r u16> for &'l UBig

§

type Output = u16

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u16) -> u16

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r u16> for UBig

§

type Output = u16

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u16) -> u16

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r u32> for &'l UBig

§

type Output = u32

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u32) -> u32

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r u32> for UBig

§

type Output = u32

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u32) -> u32

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r u64> for &'l UBig

§

type Output = u64

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u64) -> u64

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r u64> for UBig

§

type Output = u64

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u64) -> u64

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r u8> for &'l UBig

§

type Output = u8

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u8) -> u8

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r u8> for UBig

§

type Output = u8

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &u8) -> u8

Performs the & operation. Read more
source§

impl<'l, 'r> BitAnd<&'r usize> for &'l UBig

§

type Output = usize

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &usize) -> usize

Performs the & operation. Read more
source§

impl<'r> BitAnd<&'r usize> for UBig

§

type Output = usize

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: &usize) -> usize

Performs the & operation. Read more
source§

impl<'l> BitAnd<UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> UBig

Performs the & operation. Read more
source§

impl<'l> BitAnd<UBig> for &'l u128

§

type Output = u128

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u128

Performs the & operation. Read more
source§

impl<'l> BitAnd<UBig> for &'l u16

§

type Output = u16

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u16

Performs the & operation. Read more
source§

impl<'l> BitAnd<UBig> for &'l u32

§

type Output = u32

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u32

Performs the & operation. Read more
source§

impl<'l> BitAnd<UBig> for &'l u64

§

type Output = u64

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u64

Performs the & operation. Read more
source§

impl<'l> BitAnd<UBig> for &'l u8

§

type Output = u8

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u8

Performs the & operation. Read more
source§

impl<'l> BitAnd<UBig> for &'l usize

§

type Output = usize

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> usize

Performs the & operation. Read more
source§

impl BitAnd<UBig> for UBig

§

type Output = UBig

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> UBig

Performs the & operation. Read more
source§

impl BitAnd<UBig> for u128

§

type Output = u128

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u128

Performs the & operation. Read more
source§

impl BitAnd<UBig> for u16

§

type Output = u16

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u16

Performs the & operation. Read more
source§

impl BitAnd<UBig> for u32

§

type Output = u32

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u32

Performs the & operation. Read more
source§

impl BitAnd<UBig> for u64

§

type Output = u64

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u64

Performs the & operation. Read more
source§

impl BitAnd<UBig> for u8

§

type Output = u8

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> u8

Performs the & operation. Read more
source§

impl BitAnd<UBig> for usize

§

type Output = usize

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: UBig) -> usize

Performs the & operation. Read more
source§

impl<'l> BitAnd<u128> for &'l UBig

§

type Output = u128

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u128) -> u128

Performs the & operation. Read more
source§

impl BitAnd<u128> for UBig

§

type Output = u128

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u128) -> u128

Performs the & operation. Read more
source§

impl<'l> BitAnd<u16> for &'l UBig

§

type Output = u16

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u16) -> u16

Performs the & operation. Read more
source§

impl BitAnd<u16> for UBig

§

type Output = u16

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u16) -> u16

Performs the & operation. Read more
source§

impl<'l> BitAnd<u32> for &'l UBig

§

type Output = u32

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u32) -> u32

Performs the & operation. Read more
source§

impl BitAnd<u32> for UBig

§

type Output = u32

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u32) -> u32

Performs the & operation. Read more
source§

impl<'l> BitAnd<u64> for &'l UBig

§

type Output = u64

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u64) -> u64

Performs the & operation. Read more
source§

impl BitAnd<u64> for UBig

§

type Output = u64

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u64) -> u64

Performs the & operation. Read more
source§

impl<'l> BitAnd<u8> for &'l UBig

§

type Output = u8

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u8) -> u8

Performs the & operation. Read more
source§

impl BitAnd<u8> for UBig

§

type Output = u8

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: u8) -> u8

Performs the & operation. Read more
source§

impl<'l> BitAnd<usize> for &'l UBig

§

type Output = usize

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: usize) -> usize

Performs the & operation. Read more
source§

impl BitAnd<usize> for UBig

§

type Output = usize

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: usize) -> usize

Performs the & operation. Read more
source§

impl BitAndAssign<&UBig> for UBig

source§

fn bitand_assign(&mut self, rhs: &UBig)

Performs the &= operation. Read more
source§

impl BitAndAssign<&u128> for UBig

source§

fn bitand_assign(&mut self, rhs: &u128)

Performs the &= operation. Read more
source§

impl BitAndAssign<&u16> for UBig

source§

fn bitand_assign(&mut self, rhs: &u16)

Performs the &= operation. Read more
source§

impl BitAndAssign<&u32> for UBig

source§

fn bitand_assign(&mut self, rhs: &u32)

Performs the &= operation. Read more
source§

impl BitAndAssign<&u64> for UBig

source§

fn bitand_assign(&mut self, rhs: &u64)

Performs the &= operation. Read more
source§

impl BitAndAssign<&u8> for UBig

source§

fn bitand_assign(&mut self, rhs: &u8)

Performs the &= operation. Read more
source§

impl BitAndAssign<&usize> for UBig

source§

fn bitand_assign(&mut self, rhs: &usize)

Performs the &= operation. Read more
source§

impl BitAndAssign<UBig> for UBig

source§

fn bitand_assign(&mut self, rhs: UBig)

Performs the &= operation. Read more
source§

impl BitAndAssign<u128> for UBig

source§

fn bitand_assign(&mut self, rhs: u128)

Performs the &= operation. Read more
source§

impl BitAndAssign<u16> for UBig

source§

fn bitand_assign(&mut self, rhs: u16)

Performs the &= operation. Read more
source§

impl BitAndAssign<u32> for UBig

source§

fn bitand_assign(&mut self, rhs: u32)

Performs the &= operation. Read more
source§

impl BitAndAssign<u64> for UBig

source§

fn bitand_assign(&mut self, rhs: u64)

Performs the &= operation. Read more
source§

impl BitAndAssign<u8> for UBig

source§

fn bitand_assign(&mut self, rhs: u8)

Performs the &= operation. Read more
source§

impl BitAndAssign<usize> for UBig

source§

fn bitand_assign(&mut self, rhs: usize)

Performs the &= operation. Read more
source§

impl<'l, 'r> BitOr<&'r UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r UBig> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r UBig> for u128

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r UBig> for u16

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r UBig> for u32

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r UBig> for u64

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r UBig> for u8

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r UBig> for usize

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u128) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r u128> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u128) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u16) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r u16> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u16) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u32) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r u32> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u32) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u64) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r u64> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u64) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u8) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r u8> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &u8) -> UBig

Performs the | operation. Read more
source§

impl<'l, 'r> BitOr<&'r usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &usize) -> UBig

Performs the | operation. Read more
source§

impl<'r> BitOr<&'r usize> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: &usize) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl BitOr<UBig> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl BitOr<UBig> for u128

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl BitOr<UBig> for u16

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl BitOr<UBig> for u32

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl BitOr<UBig> for u64

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl BitOr<UBig> for u8

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl BitOr<UBig> for usize

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: UBig) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u128) -> UBig

Performs the | operation. Read more
source§

impl BitOr<u128> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u128) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u16) -> UBig

Performs the | operation. Read more
source§

impl BitOr<u16> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u16) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u32) -> UBig

Performs the | operation. Read more
source§

impl BitOr<u32> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u32) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u64) -> UBig

Performs the | operation. Read more
source§

impl BitOr<u64> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u64) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u8) -> UBig

Performs the | operation. Read more
source§

impl BitOr<u8> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: u8) -> UBig

Performs the | operation. Read more
source§

impl<'l> BitOr<usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: usize) -> UBig

Performs the | operation. Read more
source§

impl BitOr<usize> for UBig

§

type Output = UBig

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: usize) -> UBig

Performs the | operation. Read more
source§

impl BitOrAssign<&UBig> for UBig

source§

fn bitor_assign(&mut self, rhs: &UBig)

Performs the |= operation. Read more
source§

impl BitOrAssign<&u128> for UBig

source§

fn bitor_assign(&mut self, rhs: &u128)

Performs the |= operation. Read more
source§

impl BitOrAssign<&u16> for UBig

source§

fn bitor_assign(&mut self, rhs: &u16)

Performs the |= operation. Read more
source§

impl BitOrAssign<&u32> for UBig

source§

fn bitor_assign(&mut self, rhs: &u32)

Performs the |= operation. Read more
source§

impl BitOrAssign<&u64> for UBig

source§

fn bitor_assign(&mut self, rhs: &u64)

Performs the |= operation. Read more
source§

impl BitOrAssign<&u8> for UBig

source§

fn bitor_assign(&mut self, rhs: &u8)

Performs the |= operation. Read more
source§

impl BitOrAssign<&usize> for UBig

source§

fn bitor_assign(&mut self, rhs: &usize)

Performs the |= operation. Read more
source§

impl BitOrAssign<UBig> for UBig

source§

fn bitor_assign(&mut self, rhs: UBig)

Performs the |= operation. Read more
source§

impl BitOrAssign<u128> for UBig

source§

fn bitor_assign(&mut self, rhs: u128)

Performs the |= operation. Read more
source§

impl BitOrAssign<u16> for UBig

source§

fn bitor_assign(&mut self, rhs: u16)

Performs the |= operation. Read more
source§

impl BitOrAssign<u32> for UBig

source§

fn bitor_assign(&mut self, rhs: u32)

Performs the |= operation. Read more
source§

impl BitOrAssign<u64> for UBig

source§

fn bitor_assign(&mut self, rhs: u64)

Performs the |= operation. Read more
source§

impl BitOrAssign<u8> for UBig

source§

fn bitor_assign(&mut self, rhs: u8)

Performs the |= operation. Read more
source§

impl BitOrAssign<usize> for UBig

source§

fn bitor_assign(&mut self, rhs: usize)

Performs the |= operation. Read more
source§

impl BitTest for UBig

source§

fn bit(&self, n: usize) -> bool

Returns true if the n-th bit is set in its two’s complement binary representation, n starts from 0.
source§

fn bit_len(&self) -> usize

Effective bit length of the binary representation. Read more
source§

impl<'l, 'r> BitXor<&'r UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r UBig> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r UBig> for u128

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r UBig> for u16

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r UBig> for u32

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r UBig> for u64

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r UBig> for u8

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r UBig> for usize

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u128) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r u128> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u128) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u16) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r u16> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u16) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u32) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r u32> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u32) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u64) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r u64> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u64) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u8) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r u8> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &u8) -> UBig

Performs the ^ operation. Read more
source§

impl<'l, 'r> BitXor<&'r usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &usize) -> UBig

Performs the ^ operation. Read more
source§

impl<'r> BitXor<&'r usize> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: &usize) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<UBig> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<UBig> for u128

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<UBig> for u16

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<UBig> for u32

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<UBig> for u64

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<UBig> for u8

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<UBig> for usize

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: UBig) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u128) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<u128> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u128) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u16) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<u16> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u16) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u32) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<u32> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u32) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u64) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<u64> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u64) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u8) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<u8> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: u8) -> UBig

Performs the ^ operation. Read more
source§

impl<'l> BitXor<usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: usize) -> UBig

Performs the ^ operation. Read more
source§

impl BitXor<usize> for UBig

§

type Output = UBig

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: usize) -> UBig

Performs the ^ operation. Read more
source§

impl BitXorAssign<&UBig> for UBig

source§

fn bitxor_assign(&mut self, rhs: &UBig)

Performs the ^= operation. Read more
source§

impl BitXorAssign<&u128> for UBig

source§

fn bitxor_assign(&mut self, rhs: &u128)

Performs the ^= operation. Read more
source§

impl BitXorAssign<&u16> for UBig

source§

fn bitxor_assign(&mut self, rhs: &u16)

Performs the ^= operation. Read more
source§

impl BitXorAssign<&u32> for UBig

source§

fn bitxor_assign(&mut self, rhs: &u32)

Performs the ^= operation. Read more
source§

impl BitXorAssign<&u64> for UBig

source§

fn bitxor_assign(&mut self, rhs: &u64)

Performs the ^= operation. Read more
source§

impl BitXorAssign<&u8> for UBig

source§

fn bitxor_assign(&mut self, rhs: &u8)

Performs the ^= operation. Read more
source§

impl BitXorAssign<&usize> for UBig

source§

fn bitxor_assign(&mut self, rhs: &usize)

Performs the ^= operation. Read more
source§

impl BitXorAssign<UBig> for UBig

source§

fn bitxor_assign(&mut self, rhs: UBig)

Performs the ^= operation. Read more
source§

impl BitXorAssign<u128> for UBig

source§

fn bitxor_assign(&mut self, rhs: u128)

Performs the ^= operation. Read more
source§

impl BitXorAssign<u16> for UBig

source§

fn bitxor_assign(&mut self, rhs: u16)

Performs the ^= operation. Read more
source§

impl BitXorAssign<u32> for UBig

source§

fn bitxor_assign(&mut self, rhs: u32)

Performs the ^= operation. Read more
source§

impl BitXorAssign<u64> for UBig

source§

fn bitxor_assign(&mut self, rhs: u64)

Performs the ^= operation. Read more
source§

impl BitXorAssign<u8> for UBig

source§

fn bitxor_assign(&mut self, rhs: u8)

Performs the ^= operation. Read more
source§

impl BitXorAssign<usize> for UBig

source§

fn bitxor_assign(&mut self, rhs: usize)

Performs the ^= operation. Read more
source§

impl Clone for UBig

source§

fn clone(&self) -> UBig

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &UBig)

Performs copy-assignment from source. Read more
source§

impl CubicRoot for UBig

§

type Output = UBig

source§

fn cbrt(&self) -> Self::Output

source§

impl CubicRootRem for UBig

§

type Output = UBig

source§

fn cbrt_rem(&self) -> (Self::Output, Self)

source§

impl Debug for UBig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for UBig

source§

fn default() -> UBig

Default value: 0.

source§

impl<'de> Deserialize<'de> for UBig

source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UBig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> Distribution<UBig> for UniformBelow<'a>

source§

fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> UBig

Generate a random value of T, using rng as the source of randomness.
source§

fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>where R: Rng, Self: Sized,

Create an iterator that generates random values of T, using rng as the source of randomness. Read more
source§

fn map<F, S>(self, func: F) -> DistMap<Self, F, T, S>where F: Fn(T) -> S, Self: Sized,

Create a distribution of values of ‘S’ by mapping the output of Self through the closure F Read more
source§

impl Distribution<UBig> for UniformBits

source§

fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> UBig

Generate a random value of T, using rng as the source of randomness.
source§

fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>where R: Rng, Self: Sized,

Create an iterator that generates random values of T, using rng as the source of randomness. Read more
source§

fn map<F, S>(self, func: F) -> DistMap<Self, F, T, S>where F: Fn(T) -> S, Self: Sized,

Create a distribution of values of ‘S’ by mapping the output of Self through the closure F Read more
source§

impl<'l, 'r> Div<&'r ConstDivisor> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &ConstDivisor) -> UBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r ConstDivisor> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &ConstDivisor) -> UBig

Performs the / operation. Read more
source§

impl<'l, 'r> Div<&'r IBig> for &'l UBig

§

type Output = IBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &IBig) -> IBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r IBig> for UBig

§

type Output = IBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &IBig) -> IBig

Performs the / operation. Read more
source§

impl<'l, 'r> Div<&'r UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &UBig) -> IBig

Performs the / operation. Read more
source§

impl<'l, 'r> Div<&'r UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &UBig) -> UBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r UBig> for IBig

§

type Output = IBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &UBig) -> IBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r UBig> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &UBig) -> UBig

Performs the / operation. Read more
source§

impl<'l, 'r> Div<&'r u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u128) -> UBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r u128> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u128) -> UBig

Performs the / operation. Read more
source§

impl<'l, 'r> Div<&'r u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u16) -> UBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r u16> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u16) -> UBig

Performs the / operation. Read more
source§

impl<'l, 'r> Div<&'r u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u32) -> UBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r u32> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u32) -> UBig

Performs the / operation. Read more
source§

impl<'l, 'r> Div<&'r u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u64) -> UBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r u64> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u64) -> UBig

Performs the / operation. Read more
source§

impl<'l, 'r> Div<&'r u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u8) -> UBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r u8> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &u8) -> UBig

Performs the / operation. Read more
source§

impl<'l, 'r> Div<&'r usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &usize) -> UBig

Performs the / operation. Read more
source§

impl<'r> Div<&'r usize> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: &usize) -> UBig

Performs the / operation. Read more
source§

impl<'l> Div<IBig> for &'l UBig

§

type Output = IBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: IBig) -> IBig

Performs the / operation. Read more
source§

impl Div<IBig> for UBig

§

type Output = IBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: IBig) -> IBig

Performs the / operation. Read more
source§

impl<'l> Div<UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: UBig) -> IBig

Performs the / operation. Read more
source§

impl<'l> Div<UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: UBig) -> UBig

Performs the / operation. Read more
source§

impl Div<UBig> for IBig

§

type Output = IBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: UBig) -> IBig

Performs the / operation. Read more
source§

impl Div<UBig> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: UBig) -> UBig

Performs the / operation. Read more
source§

impl<'l> Div<u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u128) -> UBig

Performs the / operation. Read more
source§

impl Div<u128> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u128) -> UBig

Performs the / operation. Read more
source§

impl<'l> Div<u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u16) -> UBig

Performs the / operation. Read more
source§

impl Div<u16> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u16) -> UBig

Performs the / operation. Read more
source§

impl<'l> Div<u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u32) -> UBig

Performs the / operation. Read more
source§

impl Div<u32> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u32) -> UBig

Performs the / operation. Read more
source§

impl<'l> Div<u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u64) -> UBig

Performs the / operation. Read more
source§

impl Div<u64> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u64) -> UBig

Performs the / operation. Read more
source§

impl<'l> Div<u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u8) -> UBig

Performs the / operation. Read more
source§

impl Div<u8> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: u8) -> UBig

Performs the / operation. Read more
source§

impl<'l> Div<usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: usize) -> UBig

Performs the / operation. Read more
source§

impl Div<usize> for UBig

§

type Output = UBig

The resulting type after applying the / operator.
source§

fn div(self, rhs: usize) -> UBig

Performs the / operation. Read more
source§

impl<'r> DivAssign<&'r ConstDivisor> for UBig

source§

fn div_assign(&mut self, rhs: &'r ConstDivisor)

Performs the /= operation. Read more
source§

impl DivAssign<&UBig> for IBig

source§

fn div_assign(&mut self, rhs: &UBig)

Performs the /= operation. Read more
source§

impl DivAssign<&UBig> for UBig

source§

fn div_assign(&mut self, rhs: &UBig)

Performs the /= operation. Read more
source§

impl DivAssign<&u128> for UBig

source§

fn div_assign(&mut self, rhs: &u128)

Performs the /= operation. Read more
source§

impl DivAssign<&u16> for UBig

source§

fn div_assign(&mut self, rhs: &u16)

Performs the /= operation. Read more
source§

impl DivAssign<&u32> for UBig

source§

fn div_assign(&mut self, rhs: &u32)

Performs the /= operation. Read more
source§

impl DivAssign<&u64> for UBig

source§

fn div_assign(&mut self, rhs: &u64)

Performs the /= operation. Read more
source§

impl DivAssign<&u8> for UBig

source§

fn div_assign(&mut self, rhs: &u8)

Performs the /= operation. Read more
source§

impl DivAssign<&usize> for UBig

source§

fn div_assign(&mut self, rhs: &usize)

Performs the /= operation. Read more
source§

impl DivAssign<UBig> for IBig

source§

fn div_assign(&mut self, rhs: UBig)

Performs the /= operation. Read more
source§

impl DivAssign<UBig> for UBig

source§

fn div_assign(&mut self, rhs: UBig)

Performs the /= operation. Read more
source§

impl DivAssign<u128> for UBig

source§

fn div_assign(&mut self, rhs: u128)

Performs the /= operation. Read more
source§

impl DivAssign<u16> for UBig

source§

fn div_assign(&mut self, rhs: u16)

Performs the /= operation. Read more
source§

impl DivAssign<u32> for UBig

source§

fn div_assign(&mut self, rhs: u32)

Performs the /= operation. Read more
source§

impl DivAssign<u64> for UBig

source§

fn div_assign(&mut self, rhs: u64)

Performs the /= operation. Read more
source§

impl DivAssign<u8> for UBig

source§

fn div_assign(&mut self, rhs: u8)

Performs the /= operation. Read more
source§

impl DivAssign<usize> for UBig

source§

fn div_assign(&mut self, rhs: usize)

Performs the /= operation. Read more
source§

impl<'l, 'r> DivEuclid<&'r UBig> for &'l UBig

§

type Output = UBig

source§

fn div_euclid(self, rhs: &UBig) -> UBig

source§

impl<'r> DivEuclid<&'r UBig> for UBig

§

type Output = UBig

source§

fn div_euclid(self, rhs: &UBig) -> UBig

source§

impl<'l> DivEuclid<UBig> for &'l UBig

§

type Output = UBig

source§

fn div_euclid(self, rhs: UBig) -> UBig

source§

impl DivEuclid<UBig> for UBig

§

type Output = UBig

source§

fn div_euclid(self, rhs: UBig) -> UBig

source§

impl<'l, 'r> DivRem<&'r ConstDivisor> for &'l UBig

source§

impl<'r> DivRem<&'r ConstDivisor> for UBig

source§

impl<'l, 'r> DivRem<&'r IBig> for &'l UBig

§

type OutputDiv = IBig

§

type OutputRem = UBig

source§

fn div_rem(self, rhs: &IBig) -> (IBig, UBig)

source§

impl<'r> DivRem<&'r IBig> for UBig

§

type OutputDiv = IBig

§

type OutputRem = UBig

source§

fn div_rem(self, rhs: &IBig) -> (IBig, UBig)

source§

impl<'l, 'r> DivRem<&'r UBig> for &'l IBig

§

type OutputDiv = IBig

§

type OutputRem = IBig

source§

fn div_rem(self, rhs: &UBig) -> (IBig, IBig)

source§

impl<'l, 'r> DivRem<&'r UBig> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = UBig

source§

fn div_rem(self, rhs: &UBig) -> (UBig, UBig)

source§

impl<'r> DivRem<&'r UBig> for IBig

§

type OutputDiv = IBig

§

type OutputRem = IBig

source§

fn div_rem(self, rhs: &UBig) -> (IBig, IBig)

source§

impl<'r> DivRem<&'r UBig> for UBig

§

type OutputDiv = UBig

§

type OutputRem = UBig

source§

fn div_rem(self, rhs: &UBig) -> (UBig, UBig)

source§

impl<'l, 'r> DivRem<&'r u128> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u128

source§

fn div_rem(self, rhs: &u128) -> (UBig, u128)

source§

impl<'r> DivRem<&'r u128> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u128

source§

fn div_rem(self, rhs: &u128) -> (UBig, u128)

source§

impl<'l, 'r> DivRem<&'r u16> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u16

source§

fn div_rem(self, rhs: &u16) -> (UBig, u16)

source§

impl<'r> DivRem<&'r u16> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u16

source§

fn div_rem(self, rhs: &u16) -> (UBig, u16)

source§

impl<'l, 'r> DivRem<&'r u32> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u32

source§

fn div_rem(self, rhs: &u32) -> (UBig, u32)

source§

impl<'r> DivRem<&'r u32> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u32

source§

fn div_rem(self, rhs: &u32) -> (UBig, u32)

source§

impl<'l, 'r> DivRem<&'r u64> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u64

source§

fn div_rem(self, rhs: &u64) -> (UBig, u64)

source§

impl<'r> DivRem<&'r u64> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u64

source§

fn div_rem(self, rhs: &u64) -> (UBig, u64)

source§

impl<'l, 'r> DivRem<&'r u8> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u8

source§

fn div_rem(self, rhs: &u8) -> (UBig, u8)

source§

impl<'r> DivRem<&'r u8> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u8

source§

fn div_rem(self, rhs: &u8) -> (UBig, u8)

source§

impl<'l, 'r> DivRem<&'r usize> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = usize

source§

fn div_rem(self, rhs: &usize) -> (UBig, usize)

source§

impl<'r> DivRem<&'r usize> for UBig

§

type OutputDiv = UBig

§

type OutputRem = usize

source§

fn div_rem(self, rhs: &usize) -> (UBig, usize)

source§

impl<'l> DivRem<IBig> for &'l UBig

§

type OutputDiv = IBig

§

type OutputRem = UBig

source§

fn div_rem(self, rhs: IBig) -> (IBig, UBig)

source§

impl DivRem<IBig> for UBig

§

type OutputDiv = IBig

§

type OutputRem = UBig

source§

fn div_rem(self, rhs: IBig) -> (IBig, UBig)

source§

impl<'l> DivRem<UBig> for &'l IBig

§

type OutputDiv = IBig

§

type OutputRem = IBig

source§

fn div_rem(self, rhs: UBig) -> (IBig, IBig)

source§

impl<'l> DivRem<UBig> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = UBig

source§

fn div_rem(self, rhs: UBig) -> (UBig, UBig)

source§

impl DivRem<UBig> for IBig

§

type OutputDiv = IBig

§

type OutputRem = IBig

source§

fn div_rem(self, rhs: UBig) -> (IBig, IBig)

source§

impl DivRem<UBig> for UBig

§

type OutputDiv = UBig

§

type OutputRem = UBig

source§

fn div_rem(self, rhs: UBig) -> (UBig, UBig)

source§

impl<'l> DivRem<u128> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u128

source§

fn div_rem(self, rhs: u128) -> (UBig, u128)

source§

impl DivRem<u128> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u128

source§

fn div_rem(self, rhs: u128) -> (UBig, u128)

source§

impl<'l> DivRem<u16> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u16

source§

fn div_rem(self, rhs: u16) -> (UBig, u16)

source§

impl DivRem<u16> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u16

source§

fn div_rem(self, rhs: u16) -> (UBig, u16)

source§

impl<'l> DivRem<u32> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u32

source§

fn div_rem(self, rhs: u32) -> (UBig, u32)

source§

impl DivRem<u32> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u32

source§

fn div_rem(self, rhs: u32) -> (UBig, u32)

source§

impl<'l> DivRem<u64> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u64

source§

fn div_rem(self, rhs: u64) -> (UBig, u64)

source§

impl DivRem<u64> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u64

source§

fn div_rem(self, rhs: u64) -> (UBig, u64)

source§

impl<'l> DivRem<u8> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = u8

source§

fn div_rem(self, rhs: u8) -> (UBig, u8)

source§

impl DivRem<u8> for UBig

§

type OutputDiv = UBig

§

type OutputRem = u8

source§

fn div_rem(self, rhs: u8) -> (UBig, u8)

source§

impl<'l> DivRem<usize> for &'l UBig

§

type OutputDiv = UBig

§

type OutputRem = usize

source§

fn div_rem(self, rhs: usize) -> (UBig, usize)

source§

impl DivRem<usize> for UBig

§

type OutputDiv = UBig

§

type OutputRem = usize

source§

fn div_rem(self, rhs: usize) -> (UBig, usize)

source§

impl<'r> DivRemAssign<&'r ConstDivisor> for UBig

source§

impl DivRemAssign<&UBig> for UBig

§

type OutputRem = UBig

source§

fn div_rem_assign(&mut self, rhs: &UBig) -> UBig

source§

impl DivRemAssign<&u128> for UBig

§

type OutputRem = u128

source§

fn div_rem_assign(&mut self, rhs: &u128) -> u128

source§

impl DivRemAssign<&u16> for UBig

§

type OutputRem = u16

source§

fn div_rem_assign(&mut self, rhs: &u16) -> u16

source§

impl DivRemAssign<&u32> for UBig

§

type OutputRem = u32

source§

fn div_rem_assign(&mut self, rhs: &u32) -> u32

source§

impl DivRemAssign<&u64> for UBig

§

type OutputRem = u64

source§

fn div_rem_assign(&mut self, rhs: &u64) -> u64

source§

impl DivRemAssign<&u8> for UBig

§

type OutputRem = u8

source§

fn div_rem_assign(&mut self, rhs: &u8) -> u8

source§

impl DivRemAssign<&usize> for UBig

§

type OutputRem = usize

source§

fn div_rem_assign(&mut self, rhs: &usize) -> usize

source§

impl DivRemAssign<UBig> for UBig

§

type OutputRem = UBig

source§

fn div_rem_assign(&mut self, rhs: UBig) -> UBig

source§

impl DivRemAssign<u128> for UBig

§

type OutputRem = u128

source§

fn div_rem_assign(&mut self, rhs: u128) -> u128

source§

impl DivRemAssign<u16> for UBig

§

type OutputRem = u16

source§

fn div_rem_assign(&mut self, rhs: u16) -> u16

source§

impl DivRemAssign<u32> for UBig

§

type OutputRem = u32

source§

fn div_rem_assign(&mut self, rhs: u32) -> u32

source§

impl DivRemAssign<u64> for UBig

§

type OutputRem = u64

source§

fn div_rem_assign(&mut self, rhs: u64) -> u64

source§

impl DivRemAssign<u8> for UBig

§

type OutputRem = u8

source§

fn div_rem_assign(&mut self, rhs: u8) -> u8

source§

impl DivRemAssign<usize> for UBig

§

type OutputRem = usize

source§

fn div_rem_assign(&mut self, rhs: usize) -> usize

source§

impl<'l, 'r> DivRemEuclid<&'r UBig> for &'l UBig

source§

impl<'r> DivRemEuclid<&'r UBig> for UBig

source§

impl<'l> DivRemEuclid<UBig> for &'l UBig

source§

impl DivRemEuclid<UBig> for UBig

source§

impl EstimatedLog2 for UBig

source§

fn log2_bounds(&self) -> (f32, f32)

Estimate the bounds of the binary logarithm. Read more
source§

fn log2_est(&self) -> f32

Estimate the value of the binary logarithm. It’s calculated as the average of log2_bounds by default.
source§

impl Euclid for UBig

source§

fn div_euclid(&self, v: &Self) -> Self

Calculates Euclidean division, the matching method for rem_euclid. Read more
source§

fn rem_euclid(&self, v: &Self) -> Self

Calculates the least nonnegative remainder of self (mod v). Read more
source§

impl<'l, 'r> ExtendedGcd<&'r IBig> for &'l UBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: &IBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl<'r> ExtendedGcd<&'r IBig> for UBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: &IBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl<'l, 'r> ExtendedGcd<&'r UBig> for &'l IBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: &UBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl<'l, 'r> ExtendedGcd<&'r UBig> for &'l UBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: &UBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl<'r> ExtendedGcd<&'r UBig> for IBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: &UBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl<'r> ExtendedGcd<&'r UBig> for UBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: &UBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl<'l> ExtendedGcd<IBig> for &'l UBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: IBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl ExtendedGcd<IBig> for UBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: IBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl<'l> ExtendedGcd<UBig> for &'l IBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: UBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl<'l> ExtendedGcd<UBig> for &'l UBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: UBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl ExtendedGcd<UBig> for IBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: UBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl ExtendedGcd<UBig> for UBig

§

type OutputGcd = UBig

§

type OutputCoeff = IBig

source§

fn gcd_ext(self, rhs: UBig) -> (UBig, IBig, IBig)

Calculate the greatest common divisor between the two operands, returns the common divisor g and the Bézout coefficients respectively. Read more
source§

impl From<UBig> for IBig

source§

fn from(x: UBig) -> IBig

Converts to this type from the input type.
source§

impl From<bool> for UBig

source§

fn from(b: bool) -> UBig

Converts to this type from the input type.
source§

impl From<u128> for UBig

source§

fn from(value: u128) -> UBig

Converts to this type from the input type.
source§

impl From<u16> for UBig

source§

fn from(value: u16) -> UBig

Converts to this type from the input type.
source§

impl From<u32> for UBig

source§

fn from(value: u32) -> UBig

Converts to this type from the input type.
source§

impl From<u64> for UBig

source§

fn from(value: u64) -> UBig

Converts to this type from the input type.
source§

impl From<u8> for UBig

source§

fn from(value: u8) -> UBig

Converts to this type from the input type.
source§

impl From<usize> for UBig

source§

fn from(value: usize) -> UBig

Converts to this type from the input type.
source§

impl FromPrimitive for UBig

source§

fn from_i8(n: i8) -> Option<Self>

Converts an i8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i16(n: i16) -> Option<Self>

Converts an i16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i32(n: i32) -> Option<Self>

Converts an i32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i64(n: i64) -> Option<Self>

Converts an i64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i128(n: i128) -> Option<Self>

Converts an i128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_isize(n: isize) -> Option<Self>

Converts an isize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u8(n: u8) -> Option<Self>

Converts an u8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u16(n: u16) -> Option<Self>

Converts an u16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u32(n: u32) -> Option<Self>

Converts an u32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u64(n: u64) -> Option<Self>

Converts an u64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u128(n: u128) -> Option<Self>

Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<Self>

Converts a usize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

impl FromStr for UBig

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<UBig, ParseError>

Parses a string s to return a value of this type. Read more
source§

impl<'l, 'r> Gcd<&'r IBig> for &'l UBig

§

type Output = UBig

source§

fn gcd(self, rhs: &IBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl<'r> Gcd<&'r IBig> for UBig

§

type Output = UBig

source§

fn gcd(self, rhs: &IBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl<'l, 'r> Gcd<&'r UBig> for &'l IBig

§

type Output = UBig

source§

fn gcd(self, rhs: &UBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl<'l, 'r> Gcd<&'r UBig> for &'l UBig

§

type Output = UBig

source§

fn gcd(self, rhs: &UBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl<'r> Gcd<&'r UBig> for IBig

§

type Output = UBig

source§

fn gcd(self, rhs: &UBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl<'r> Gcd<&'r UBig> for UBig

§

type Output = UBig

source§

fn gcd(self, rhs: &UBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl<'l> Gcd<IBig> for &'l UBig

§

type Output = UBig

source§

fn gcd(self, rhs: IBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl Gcd<IBig> for UBig

§

type Output = UBig

source§

fn gcd(self, rhs: IBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl<'l> Gcd<UBig> for &'l IBig

§

type Output = UBig

source§

fn gcd(self, rhs: UBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl<'l> Gcd<UBig> for &'l UBig

§

type Output = UBig

source§

fn gcd(self, rhs: UBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl Gcd<UBig> for IBig

§

type Output = UBig

source§

fn gcd(self, rhs: UBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl Gcd<UBig> for UBig

§

type Output = UBig

source§

fn gcd(self, rhs: UBig) -> UBig

Compute the greatest common divisor between the two operands. Read more
source§

impl Hash for UBig

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Integer for UBig

source§

fn div_floor(&self, other: &Self) -> Self

Floored integer division. Read more
source§

fn div_rem(&self, other: &Self) -> (Self, Self)

Simultaneous truncated integer division and modulus. Returns (quotient, remainder). Read more
source§

fn mod_floor(&self, other: &Self) -> Self

Floored integer modulo, satisfying: Read more
source§

fn divides(&self, other: &Self) -> bool

Deprecated, use is_multiple_of instead.
source§

fn is_multiple_of(&self, other: &Self) -> bool

Returns true if self is a multiple of other. Read more
source§

fn is_even(&self) -> bool

Returns true if the number is even. Read more
source§

fn is_odd(&self) -> bool

Returns true if the number is odd. Read more
source§

fn gcd(&self, other: &Self) -> Self

Greatest Common Divisor (GCD). Read more
source§

fn lcm(&self, other: &Self) -> Self

Lowest Common Multiple (LCM). Read more
source§

fn extended_gcd(&self, other: &Self) -> ExtendedGcd<Self>

Greatest common divisor and Bézout coefficients. Read more
source§

fn div_ceil(&self, other: &Self) -> Self

Ceiled integer division. Read more
source§

fn gcd_lcm(&self, other: &Self) -> (Self, Self)

Greatest Common Divisor (GCD) and Lowest Common Multiple (LCM) together. Read more
source§

fn div_mod_floor(&self, other: &Self) -> (Self, Self)

Simultaneous floored integer division and modulus. Returns (quotient, remainder). Read more
source§

fn next_multiple_of(&self, other: &Self) -> Selfwhere Self: Clone,

Rounds up to nearest multiple of argument. Read more
source§

fn prev_multiple_of(&self, other: &Self) -> Selfwhere Self: Clone,

Rounds down to nearest multiple of argument. Read more
source§

impl<'a> IntoRing<'a, ConstDivisor> for UBig

§

type RingElement = Reduced<'a>

source§

fn into_ring(self, ring: &ConstDivisor) -> Reduced<'_>

source§

impl LowerHex for UBig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl<'l, 'r> Mul<&'r IBig> for &'l UBig

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &IBig) -> IBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r IBig> for UBig

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &IBig) -> IBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> IBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r UBig> for IBig

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> IBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r UBig> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r UBig> for u128

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r UBig> for u16

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r UBig> for u32

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r UBig> for u64

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r UBig> for u8

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r UBig> for usize

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u128) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r u128> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u128) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u16) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r u16> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u16) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u32) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r u32> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u32) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u64) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r u64> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u64) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u8) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r u8> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &u8) -> UBig

Performs the * operation. Read more
source§

impl<'l, 'r> Mul<&'r usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &usize) -> UBig

Performs the * operation. Read more
source§

impl<'r> Mul<&'r usize> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &usize) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<IBig> for &'l UBig

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: IBig) -> IBig

Performs the * operation. Read more
source§

impl Mul<IBig> for UBig

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: IBig) -> IBig

Performs the * operation. Read more
source§

impl Mul<Sign> for UBig

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Sign) -> Self::Output

Performs the * operation. Read more
source§

impl<'l> Mul<UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> IBig

Performs the * operation. Read more
source§

impl<'l> Mul<UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl Mul<UBig> for IBig

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> IBig

Performs the * operation. Read more
source§

impl Mul<UBig> for Sign

§

type Output = IBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<UBig> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl Mul<UBig> for u128

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl Mul<UBig> for u16

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl Mul<UBig> for u32

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl Mul<UBig> for u64

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl Mul<UBig> for u8

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl Mul<UBig> for usize

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: UBig) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u128) -> UBig

Performs the * operation. Read more
source§

impl Mul<u128> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u128) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u16) -> UBig

Performs the * operation. Read more
source§

impl Mul<u16> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u16) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u32) -> UBig

Performs the * operation. Read more
source§

impl Mul<u32> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u32) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u64) -> UBig

Performs the * operation. Read more
source§

impl Mul<u64> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u64) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u8) -> UBig

Performs the * operation. Read more
source§

impl Mul<u8> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: u8) -> UBig

Performs the * operation. Read more
source§

impl<'l> Mul<usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: usize) -> UBig

Performs the * operation. Read more
source§

impl Mul<usize> for UBig

§

type Output = UBig

The resulting type after applying the * operator.
source§

fn mul(self, rhs: usize) -> UBig

Performs the * operation. Read more
source§

impl MulAssign<&UBig> for IBig

source§

fn mul_assign(&mut self, rhs: &UBig)

Performs the *= operation. Read more
source§

impl MulAssign<&UBig> for UBig

source§

fn mul_assign(&mut self, rhs: &UBig)

Performs the *= operation. Read more
source§

impl MulAssign<&u128> for UBig

source§

fn mul_assign(&mut self, rhs: &u128)

Performs the *= operation. Read more
source§

impl MulAssign<&u16> for UBig

source§

fn mul_assign(&mut self, rhs: &u16)

Performs the *= operation. Read more
source§

impl MulAssign<&u32> for UBig

source§

fn mul_assign(&mut self, rhs: &u32)

Performs the *= operation. Read more
source§

impl MulAssign<&u64> for UBig

source§

fn mul_assign(&mut self, rhs: &u64)

Performs the *= operation. Read more
source§

impl MulAssign<&u8> for UBig

source§

fn mul_assign(&mut self, rhs: &u8)

Performs the *= operation. Read more
source§

impl MulAssign<&usize> for UBig

source§

fn mul_assign(&mut self, rhs: &usize)

Performs the *= operation. Read more
source§

impl MulAssign<UBig> for IBig

source§

fn mul_assign(&mut self, rhs: UBig)

Performs the *= operation. Read more
source§

impl MulAssign<UBig> for UBig

source§

fn mul_assign(&mut self, rhs: UBig)

Performs the *= operation. Read more
source§

impl MulAssign<u128> for UBig

source§

fn mul_assign(&mut self, rhs: u128)

Performs the *= operation. Read more
source§

impl MulAssign<u16> for UBig

source§

fn mul_assign(&mut self, rhs: u16)

Performs the *= operation. Read more
source§

impl MulAssign<u32> for UBig

source§

fn mul_assign(&mut self, rhs: u32)

Performs the *= operation. Read more
source§

impl MulAssign<u64> for UBig

source§

fn mul_assign(&mut self, rhs: u64)

Performs the *= operation. Read more
source§

impl MulAssign<u8> for UBig

source§

fn mul_assign(&mut self, rhs: u8)

Performs the *= operation. Read more
source§

impl MulAssign<usize> for UBig

source§

fn mul_assign(&mut self, rhs: usize)

Performs the *= operation. Read more
source§

impl Neg for &UBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn neg(self) -> IBig

Performs the unary - operation. Read more
source§

impl Neg for UBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn neg(self) -> IBig

Performs the unary - operation. Read more
source§

impl Num for UBig

§

type FromStrRadixErr = ParseError

source§

fn from_str_radix(s: &str, radix: u32) -> Result<Self, ParseError>

Convert from a string and radix (typically 2..=36). Read more
source§

impl NumHash for UBig

source§

fn num_hash<H: Hasher>(&self, state: &mut H)

Consistent Hash::hash on different numeric types. Read more
source§

impl NumOrd<IBig> for UBig

source§

fn num_cmp(&self, other: &IBig) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

fn num_partial_cmp(&self, other: &IBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

impl NumOrd<UBig> for IBig

source§

fn num_cmp(&self, other: &UBig) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

impl NumOrd<UBig> for UBig

source§

fn num_cmp(&self, other: &UBig) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

impl NumOrd<UBig> for f32

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for f64

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for i128

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for i16

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for i32

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for i64

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for i8

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for isize

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for u128

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for u16

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for u32

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for u64

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for u8

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<UBig> for usize

source§

fn num_partial_cmp(&self, other: &UBig) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<f32> for UBig

source§

fn num_partial_cmp(&self, other: &f32) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<f64> for UBig

source§

fn num_partial_cmp(&self, other: &f64) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<i128> for UBig

source§

fn num_partial_cmp(&self, other: &i128) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<i16> for UBig

source§

fn num_partial_cmp(&self, other: &i16) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<i32> for UBig

source§

fn num_partial_cmp(&self, other: &i32) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<i64> for UBig

source§

fn num_partial_cmp(&self, other: &i64) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<i8> for UBig

source§

fn num_partial_cmp(&self, other: &i8) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<isize> for UBig

source§

fn num_partial_cmp(&self, other: &isize) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<u128> for UBig

source§

fn num_partial_cmp(&self, other: &u128) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<u16> for UBig

source§

fn num_partial_cmp(&self, other: &u16) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<u32> for UBig

source§

fn num_partial_cmp(&self, other: &u32) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<u64> for UBig

source§

fn num_partial_cmp(&self, other: &u64) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<u8> for UBig

source§

fn num_partial_cmp(&self, other: &u8) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl NumOrd<usize> for UBig

source§

fn num_partial_cmp(&self, other: &usize) -> Option<Ordering>

PartialOrd::partial_cmp on different numeric types
source§

fn num_eq(&self, other: &Other) -> bool

PartialEq::eq on different numeric types
source§

fn num_ne(&self, other: &Other) -> bool

PartialEq::ne on different numeric types
source§

fn num_lt(&self, other: &Other) -> bool

PartialOrd::lt on different numeric types
source§

fn num_le(&self, other: &Other) -> bool

PartialOrd::le on different numeric types
source§

fn num_gt(&self, other: &Other) -> bool

PartialOrd::gt on different numeric types
source§

fn num_ge(&self, other: &Other) -> bool

PartialOrd::ge on different numeric types
source§

fn num_cmp(&self, other: &Other) -> Ordering

Ord::cmp on different numeric types. It panics if either of the numeric values contains NaN.
source§

impl Octal for UBig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl One for UBig

source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
source§

fn is_one(&self) -> bool

Returns true if self is equal to the multiplicative identity. Read more
source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
source§

impl Ord for UBig

source§

fn cmp(&self, other: &UBig) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<UBig> for UBig

source§

fn eq(&self, other: &UBig) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<UBig> for UBig

source§

fn partial_cmp(&self, other: &UBig) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Pow<usize> for &UBig

§

type Output = UBig

The result after applying the operator.
source§

fn pow(self, rhs: usize) -> UBig

Returns self to the power rhs. Read more
source§

impl Pow<usize> for UBig

§

type Output = UBig

The result after applying the operator.
source§

fn pow(self, rhs: usize) -> UBig

Returns self to the power rhs. Read more
source§

impl PowerOfTwo for UBig

source§

fn is_power_of_two(&self) -> bool

Test if self is a power of two (2^k)
source§

fn next_power_of_two(self) -> UBig

Get the smallest power of two greater than or equal to self.
source§

impl<T> Product<T> for UBigwhere UBig: Mul<T, Output = UBig>,

source§

fn product<I: Iterator<Item = T>>(iter: I) -> Self

Method which takes an iterator and generates Self from the elements by multiplying the items.
source§

impl Reducer<UBig> for ConstDivisor

source§

fn new(m: &UBig) -> Self

Create a reducer for a modulus m
source§

fn transform(&self, target: UBig) -> UBig

Transform a normal integer into reduced form
source§

fn check(&self, target: &UBig) -> bool

Check whether target is a valid reduced form
source§

fn modulus(&self) -> UBig

Get the modulus in original integer type
source§

fn residue(&self, target: UBig) -> UBig

Transform a reduced form back to normal integer
source§

fn is_zero(&self, target: &UBig) -> bool

Test if the residue() == 0
source§

fn add(&self, lhs: &UBig, rhs: &UBig) -> UBig

Calculate (lhs + rhs) mod m in reduced form
source§

fn dbl(&self, target: UBig) -> UBig

Calculate 2*target mod m
source§

fn sub(&self, lhs: &UBig, rhs: &UBig) -> UBig

Calculate (lhs - rhs) mod m in reduced form
source§

fn neg(&self, target: UBig) -> UBig

Calculate -monty mod m in reduced form
source§

fn mul(&self, lhs: &UBig, rhs: &UBig) -> UBig

Calculate (lhs * rhs) mod m in reduced form
source§

fn sqr(&self, target: UBig) -> UBig

Calculate target^2 mod m in reduced form
source§

fn inv(&self, target: UBig) -> Option<UBig>

Calculate target^-1 mod m in reduced form, it may return None when there is no modular inverse.
source§

fn pow(&self, base: UBig, exp: &UBig) -> UBig

Calculate base ^ exp mod m in reduced form
source§

fn add_in_place(&self, lhs: &mut T, rhs: &T)

source§

fn sub_in_place(&self, lhs: &mut T, rhs: &T)

source§

fn mul_in_place(&self, lhs: &mut T, rhs: &T)

source§

impl<'l, 'r> Rem<&'r ConstDivisor> for &'l UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &ConstDivisor) -> UBig

Performs the % operation. Read more
source§

impl<'r> Rem<&'r ConstDivisor> for UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &ConstDivisor) -> UBig

Performs the % operation. Read more
source§

impl<'l, 'r> Rem<&'r IBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &IBig) -> UBig

Performs the % operation. Read more
source§

impl<'r> Rem<&'r IBig> for UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &IBig) -> UBig

Performs the % operation. Read more
source§

impl<'l, 'r> Rem<&'r UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &UBig) -> IBig

Performs the % operation. Read more
source§

impl<'l, 'r> Rem<&'r UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &UBig) -> UBig

Performs the % operation. Read more
source§

impl<'r> Rem<&'r UBig> for IBig

§

type Output = IBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &UBig) -> IBig

Performs the % operation. Read more
source§

impl<'r> Rem<&'r UBig> for UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &UBig) -> UBig

Performs the % operation. Read more
source§

impl<'l, 'r> Rem<&'r u128> for &'l UBig

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u128) -> u128

Performs the % operation. Read more
source§

impl<'r> Rem<&'r u128> for UBig

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u128) -> u128

Performs the % operation. Read more
source§

impl<'l, 'r> Rem<&'r u16> for &'l UBig

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u16) -> u16

Performs the % operation. Read more
source§

impl<'r> Rem<&'r u16> for UBig

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u16) -> u16

Performs the % operation. Read more
source§

impl<'l, 'r> Rem<&'r u32> for &'l UBig

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u32) -> u32

Performs the % operation. Read more
source§

impl<'r> Rem<&'r u32> for UBig

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u32) -> u32

Performs the % operation. Read more
source§

impl<'l, 'r> Rem<&'r u64> for &'l UBig

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u64) -> u64

Performs the % operation. Read more
source§

impl<'r> Rem<&'r u64> for UBig

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u64) -> u64

Performs the % operation. Read more
source§

impl<'l, 'r> Rem<&'r u8> for &'l UBig

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u8) -> u8

Performs the % operation. Read more
source§

impl<'r> Rem<&'r u8> for UBig

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &u8) -> u8

Performs the % operation. Read more
source§

impl<'l, 'r> Rem<&'r usize> for &'l UBig

§

type Output = usize

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &usize) -> usize

Performs the % operation. Read more
source§

impl<'r> Rem<&'r usize> for UBig

§

type Output = usize

The resulting type after applying the % operator.
source§

fn rem(self, rhs: &usize) -> usize

Performs the % operation. Read more
source§

impl<'l> Rem<IBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: IBig) -> UBig

Performs the % operation. Read more
source§

impl Rem<IBig> for UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: IBig) -> UBig

Performs the % operation. Read more
source§

impl<'l> Rem<UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: UBig) -> IBig

Performs the % operation. Read more
source§

impl<'l> Rem<UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: UBig) -> UBig

Performs the % operation. Read more
source§

impl Rem<UBig> for IBig

§

type Output = IBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: UBig) -> IBig

Performs the % operation. Read more
source§

impl Rem<UBig> for UBig

§

type Output = UBig

The resulting type after applying the % operator.
source§

fn rem(self, rhs: UBig) -> UBig

Performs the % operation. Read more
source§

impl<'l> Rem<u128> for &'l UBig

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u128) -> u128

Performs the % operation. Read more
source§

impl Rem<u128> for UBig

§

type Output = u128

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u128) -> u128

Performs the % operation. Read more
source§

impl<'l> Rem<u16> for &'l UBig

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u16) -> u16

Performs the % operation. Read more
source§

impl Rem<u16> for UBig

§

type Output = u16

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u16) -> u16

Performs the % operation. Read more
source§

impl<'l> Rem<u32> for &'l UBig

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u32) -> u32

Performs the % operation. Read more
source§

impl Rem<u32> for UBig

§

type Output = u32

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u32) -> u32

Performs the % operation. Read more
source§

impl<'l> Rem<u64> for &'l UBig

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u64) -> u64

Performs the % operation. Read more
source§

impl Rem<u64> for UBig

§

type Output = u64

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u64) -> u64

Performs the % operation. Read more
source§

impl<'l> Rem<u8> for &'l UBig

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u8) -> u8

Performs the % operation. Read more
source§

impl Rem<u8> for UBig

§

type Output = u8

The resulting type after applying the % operator.
source§

fn rem(self, rhs: u8) -> u8

Performs the % operation. Read more
source§

impl<'l> Rem<usize> for &'l UBig

§

type Output = usize

The resulting type after applying the % operator.
source§

fn rem(self, rhs: usize) -> usize

Performs the % operation. Read more
source§

impl Rem<usize> for UBig

§

type Output = usize

The resulting type after applying the % operator.
source§

fn rem(self, rhs: usize) -> usize

Performs the % operation. Read more
source§

impl<'r> RemAssign<&'r ConstDivisor> for UBig

source§

fn rem_assign(&mut self, rhs: &'r ConstDivisor)

Performs the %= operation. Read more
source§

impl RemAssign<&IBig> for UBig

source§

fn rem_assign(&mut self, rhs: &IBig)

Performs the %= operation. Read more
source§

impl RemAssign<&UBig> for IBig

source§

fn rem_assign(&mut self, rhs: &UBig)

Performs the %= operation. Read more
source§

impl RemAssign<&UBig> for UBig

source§

fn rem_assign(&mut self, rhs: &UBig)

Performs the %= operation. Read more
source§

impl RemAssign<IBig> for UBig

source§

fn rem_assign(&mut self, rhs: IBig)

Performs the %= operation. Read more
source§

impl RemAssign<UBig> for IBig

source§

fn rem_assign(&mut self, rhs: UBig)

Performs the %= operation. Read more
source§

impl RemAssign<UBig> for UBig

source§

fn rem_assign(&mut self, rhs: UBig)

Performs the %= operation. Read more
source§

impl<'l, 'r> RemEuclid<&'r UBig> for &'l UBig

§

type Output = UBig

source§

fn rem_euclid(self, rhs: &UBig) -> UBig

source§

impl<'r> RemEuclid<&'r UBig> for UBig

§

type Output = UBig

source§

fn rem_euclid(self, rhs: &UBig) -> UBig

source§

impl<'l> RemEuclid<UBig> for &'l UBig

§

type Output = UBig

source§

fn rem_euclid(self, rhs: UBig) -> UBig

source§

impl RemEuclid<UBig> for UBig

§

type Output = UBig

source§

fn rem_euclid(self, rhs: UBig) -> UBig

source§

impl Roots for UBig

source§

fn sqrt(&self) -> Self

Returns the truncated principal square root of an integer – ⌊√x⌋ Read more
source§

fn cbrt(&self) -> Self

Returns the truncated principal cube root of an integer – if x >= 0 { ⌊∛x⌋ } else { ⌈∛x⌉ } Read more
source§

fn nth_root(&self, n: u32) -> Self

Returns the truncated principal nth root of an integer – if x >= 0 { ⌊ⁿ√x⌋ } else { ⌈ⁿ√x⌉ } Read more
source§

impl SampleUniform for UBig

§

type Sampler = UniformUBig

The UniformSampler implementation supporting type X.
source§

impl Serialize for UBig

source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Shl<&usize> for &UBig

§

type Output = UBig

The resulting type after applying the << operator.
source§

fn shl(self, rhs: &usize) -> UBig

Performs the << operation. Read more
source§

impl Shl<&usize> for UBig

§

type Output = UBig

The resulting type after applying the << operator.
source§

fn shl(self, rhs: &usize) -> UBig

Performs the << operation. Read more
source§

impl Shl<usize> for &UBig

§

type Output = UBig

The resulting type after applying the << operator.
source§

fn shl(self, rhs: usize) -> UBig

Performs the << operation. Read more
source§

impl Shl<usize> for UBig

§

type Output = UBig

The resulting type after applying the << operator.
source§

fn shl(self, rhs: usize) -> UBig

Performs the << operation. Read more
source§

impl ShlAssign<&usize> for UBig

source§

fn shl_assign(&mut self, rhs: &usize)

Performs the <<= operation. Read more
source§

impl ShlAssign<usize> for UBig

source§

fn shl_assign(&mut self, rhs: usize)

Performs the <<= operation. Read more
source§

impl Shr<&usize> for &UBig

§

type Output = UBig

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: &usize) -> UBig

Performs the >> operation. Read more
source§

impl Shr<&usize> for UBig

§

type Output = UBig

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: &usize) -> UBig

Performs the >> operation. Read more
source§

impl Shr<usize> for &UBig

§

type Output = UBig

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: usize) -> UBig

Performs the >> operation. Read more
source§

impl Shr<usize> for UBig

§

type Output = UBig

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: usize) -> UBig

Performs the >> operation. Read more
source§

impl ShrAssign<&usize> for UBig

source§

fn shr_assign(&mut self, rhs: &usize)

Performs the >>= operation. Read more
source§

impl ShrAssign<usize> for UBig

source§

fn shr_assign(&mut self, rhs: usize)

Performs the >>= operation. Read more
source§

impl SquareRoot for UBig

§

type Output = UBig

source§

fn sqrt(&self) -> Self::Output

source§

impl SquareRootRem for UBig

source§

impl<'l, 'r> Sub<&'r IBig> for &'l UBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &IBig) -> IBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r IBig> for UBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &IBig) -> IBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> IBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r UBig> for IBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> IBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r UBig> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r UBig> for u128

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r UBig> for u16

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r UBig> for u32

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r UBig> for u64

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r UBig> for u8

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r UBig> for usize

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u128) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r u128> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u128) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u16) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r u16> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u16) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u32) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r u32> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u32) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u64) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r u64> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u64) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u8) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r u8> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &u8) -> UBig

Performs the - operation. Read more
source§

impl<'l, 'r> Sub<&'r usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &usize) -> UBig

Performs the - operation. Read more
source§

impl<'r> Sub<&'r usize> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &usize) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<IBig> for &'l UBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: IBig) -> IBig

Performs the - operation. Read more
source§

impl Sub<IBig> for UBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: IBig) -> IBig

Performs the - operation. Read more
source§

impl<'l> Sub<UBig> for &'l IBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> IBig

Performs the - operation. Read more
source§

impl<'l> Sub<UBig> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<UBig> for &'l u128

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<UBig> for &'l u16

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<UBig> for &'l u32

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<UBig> for &'l u64

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<UBig> for &'l u8

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<UBig> for &'l usize

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl Sub<UBig> for IBig

§

type Output = IBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> IBig

Performs the - operation. Read more
source§

impl Sub<UBig> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl Sub<UBig> for u128

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl Sub<UBig> for u16

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl Sub<UBig> for u32

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl Sub<UBig> for u64

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl Sub<UBig> for u8

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl Sub<UBig> for usize

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: UBig) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<u128> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u128) -> UBig

Performs the - operation. Read more
source§

impl Sub<u128> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u128) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<u16> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u16) -> UBig

Performs the - operation. Read more
source§

impl Sub<u16> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u16) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<u32> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u32) -> UBig

Performs the - operation. Read more
source§

impl Sub<u32> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u32) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<u64> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u64) -> UBig

Performs the - operation. Read more
source§

impl Sub<u64> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u64) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<u8> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u8) -> UBig

Performs the - operation. Read more
source§

impl Sub<u8> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: u8) -> UBig

Performs the - operation. Read more
source§

impl<'l> Sub<usize> for &'l UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: usize) -> UBig

Performs the - operation. Read more
source§

impl Sub<usize> for UBig

§

type Output = UBig

The resulting type after applying the - operator.
source§

fn sub(self, rhs: usize) -> UBig

Performs the - operation. Read more
source§

impl SubAssign<&UBig> for IBig

source§

fn sub_assign(&mut self, rhs: &UBig)

Performs the -= operation. Read more
source§

impl SubAssign<&UBig> for UBig

source§

fn sub_assign(&mut self, rhs: &UBig)

Performs the -= operation. Read more
source§

impl SubAssign<&u128> for UBig

source§

fn sub_assign(&mut self, rhs: &u128)

Performs the -= operation. Read more
source§

impl SubAssign<&u16> for UBig

source§

fn sub_assign(&mut self, rhs: &u16)

Performs the -= operation. Read more
source§

impl SubAssign<&u32> for UBig

source§

fn sub_assign(&mut self, rhs: &u32)

Performs the -= operation. Read more
source§

impl SubAssign<&u64> for UBig

source§

fn sub_assign(&mut self, rhs: &u64)

Performs the -= operation. Read more
source§

impl SubAssign<&u8> for UBig

source§

fn sub_assign(&mut self, rhs: &u8)

Performs the -= operation. Read more
source§

impl SubAssign<&usize> for UBig

source§

fn sub_assign(&mut self, rhs: &usize)

Performs the -= operation. Read more
source§

impl SubAssign<UBig> for IBig

source§

fn sub_assign(&mut self, rhs: UBig)

Performs the -= operation. Read more
source§

impl SubAssign<UBig> for UBig

source§

fn sub_assign(&mut self, rhs: UBig)

Performs the -= operation. Read more
source§

impl SubAssign<u128> for UBig

source§

fn sub_assign(&mut self, rhs: u128)

Performs the -= operation. Read more
source§

impl SubAssign<u16> for UBig

source§

fn sub_assign(&mut self, rhs: u16)

Performs the -= operation. Read more
source§

impl SubAssign<u32> for UBig

source§

fn sub_assign(&mut self, rhs: u32)

Performs the -= operation. Read more
source§

impl SubAssign<u64> for UBig

source§

fn sub_assign(&mut self, rhs: u64)

Performs the -= operation. Read more
source§

impl SubAssign<u8> for UBig

source§

fn sub_assign(&mut self, rhs: u8)

Performs the -= operation. Read more
source§

impl SubAssign<usize> for UBig

source§

fn sub_assign(&mut self, rhs: usize)

Performs the -= operation. Read more
source§

impl<T> Sum<T> for UBigwhere UBig: Add<T, Output = UBig>,

source§

fn sum<I: Iterator<Item = T>>(iter: I) -> Self

Method which takes an iterator and generates Self from the elements by “summing up” the items.
source§

impl ToPrimitive for UBig

source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be represented by an i8, then None is returned.
source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be represented by an i16, then None is returned.
source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be represented by an i32, then None is returned.
source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be represented by an i64, then None is returned.
source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be represented by an i128 (i64 under the default implementation), then None is returned. Read more
source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be represented by an isize, then None is returned.
source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be represented by a u8, then None is returned.
source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be represented by a u16, then None is returned.
source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be represented by a u32, then None is returned.
source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be represented by a u64, then None is returned.
source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be represented by a u128 (u64 under the default implementation), then None is returned. Read more
source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be represented by a usize, then None is returned.
source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot be represented by an f32.
source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot be represented by an f64. Read more
source§

impl TryFrom<&UBig> for i128

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<i128, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for i16

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<i16, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for i32

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<i32, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for i64

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<i64, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for i8

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<i8, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for isize

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<isize, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for u128

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<u128, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for u16

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<u16, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for u32

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<u32, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for u64

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<u64, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for u8

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<u8, ConversionError>

Performs the conversion.
source§

impl TryFrom<&UBig> for usize

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: &UBig) -> Result<usize, ConversionError>

Performs the conversion.
source§

impl TryFrom<IBig> for UBig

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(x: IBig) -> Result<UBig, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for i128

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<i128, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for i16

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<i16, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for i32

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<i32, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for i64

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<i64, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for i8

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<i8, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for isize

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<isize, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for u128

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<u128, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for u16

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<u16, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for u32

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<u32, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for u64

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<u64, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for u8

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<u8, ConversionError>

Performs the conversion.
source§

impl TryFrom<UBig> for usize

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: UBig) -> Result<usize, ConversionError>

Performs the conversion.
source§

impl TryFrom<f32> for UBig

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: f32) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<f64> for UBig

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: f64) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<i128> for UBig

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: i128) -> Result<UBig, ConversionError>

Performs the conversion.
source§

impl TryFrom<i16> for UBig

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: i16) -> Result<UBig, ConversionError>

Performs the conversion.
source§

impl TryFrom<i32> for UBig

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<UBig, ConversionError>

Performs the conversion.
source§

impl TryFrom<i64> for UBig

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: i64) -> Result<UBig, ConversionError>

Performs the conversion.
source§

impl TryFrom<i8> for UBig

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: i8) -> Result<UBig, ConversionError>

Performs the conversion.
source§

impl TryFrom<isize> for UBig

§

type Error = ConversionError

The type returned in the event of a conversion error.
source§

fn try_from(value: isize) -> Result<UBig, ConversionError>

Performs the conversion.
source§

impl UpperHex for UBig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Zero for UBig

source§

fn zero() -> Self

Returns the additive identity element of Self, 0. Read more
source§

fn is_zero(&self) -> bool

Returns true if self is equal to the additive identity.
source§

fn set_zero(&mut self)

Sets self to the additive identity element of Self, 0.
source§

impl Zeroize for UBig

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl Eq for UBig

source§

impl StructuralEq for UBig

source§

impl StructuralPartialEq for UBig

source§

impl Unsigned for UBig

Auto Trait Implementations§

§

impl RefUnwindSafe for UBig

§

impl Send for UBig

§

impl Sync for UBig

§

impl Unpin for UBig

§

impl UnwindSafe for UBig

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<I> Average for Iwhere &'a I: for<'a, 'b> BitAnd<&'b I, Output = I> + for<'a, 'b> BitOr<&'b I, Output = I> + for<'a, 'b> BitXor<&'b I, Output = I>, I: Integer + Shr<usize, Output = I>,

source§

fn average_floor(&self, other: &I) -> I

Returns the floor value of the average of self and other.

source§

fn average_ceil(&self, other: &I) -> I

Returns the ceil value of the average of self and other.

source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Borrowed> SampleBorrow<Borrowed> for Borrowedwhere Borrowed: SampleUniform,

source§

fn borrow(&self) -> &Borrowed

Immutably borrows from an owned value. See Borrow::borrow
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

source§

impl<T> NumAssign for Twhere T: Num + NumAssignOps<T>,

source§

impl<T, Rhs> NumAssignOps<Rhs> for Twhere T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,

source§

impl<T> NumAssignRef for Twhere T: NumAssign + for<'r> NumAssignOps<&'r T>,

source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for Twhere T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

source§

impl<T> NumRef for Twhere T: Num + for<'r> NumOps<&'r T, T>,

source§

impl<T, Base> RefNum<Base> for Twhere T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,