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 for U128

§

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

source§

impl Split for U192

§

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

source§

impl Split for U256

§

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

source§

impl Split for U384

§

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

source§

impl Split for U448

§

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

source§

impl Split for U512

§

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

source§

impl Split for U768

§

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

source§

impl Split for U896

§

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

source§

impl Split for U1024

§

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

source§

impl Split for U1536

§

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

source§

impl Split for U1792

§

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

source§

impl Split for U2048

§

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

source§

impl Split for U3072

§

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

source§

impl Split for U3584

§

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

source§

impl Split for U4096

§

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

source§

impl Split for U6144

§

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

source§

impl Split for U8192

§

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