Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

U128BitShift

Fully qualified path: alexandria_math::U128BitShift

pub impl U128BitShift of BitShift<
    u128,
    U128Sub,
    U128Mul,
    DivImpl<u128, U128DivRem, U128TryIntoNonZero, u128Drop>,
    RemImpl<u128, U128DivRem, U128TryIntoNonZero, u128Drop>,
    U128PartialEq,
    UpcastableInto<u8, u128, UpcastableU8U128>,
    u128Drop,
    u128Copy,
>;

Impl functions

shl

Fully qualified path: alexandria_math::U128BitShift::shl

fn shl(x: u128, n: u128) -> u128