pub trait Split<Rhs = Self> {
    type Output;

    // Required method
    fn split(&self) -> (Self::Output, Self::Output);
}
Expand description

Split a number in half, returning the most significant half followed by the least significant.

Required Associated Types§

source

type Output

Split output: high/low components of the value.

Required Methods§

source

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

Split this number in half, returning its high and low components respectively.

Implementors§

source§

impl Split<UInt<{nlimbs!($bits)}>> for U128

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U192

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U256

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U384

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U448

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U512

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U768

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U896

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U1024

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U1536

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U1792

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U2048

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U3072

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U3584

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U4096

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U6144

§

type Output = UInt<{nlimbs!($bits) / 2}>

source§

impl Split<UInt<{nlimbs!($bits)}>> for U8192

§

type Output = UInt<{nlimbs!($bits) / 2}>