Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

U256BitShift

Fully qualified path: alexandria_math::U256BitShift

pub impl U256BitShift of BitShift<
    u256,
    U256Sub,
    U256Mul,
    DivImpl<u256, U256DivRem, U256TryIntoNonZero, u256Drop>,
    RemImpl<u256, U256DivRem, U256TryIntoNonZero, u256Drop>,
    u256PartialEq,
    U8IntoU256,
    u256Drop,
    u256Copy,
>;

Impl functions

shl

Fully qualified path: alexandria_math::U256BitShift::shl

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