Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

U256OptBitRotate

Does not support 0 rotations (will panic).

Fully qualified path: alexandria_math::opt_math::U256OptBitRotate

pub impl U256OptBitRotate of OptBitRotate<u256, WideMulU256>;

Impl functions

rotl

Fully qualified path: alexandria_math::opt_math::U256OptBitRotate::rotl

fn rotl(x: u256, n: u8) -> u256

rotr

Fully qualified path: alexandria_math::opt_math::U256OptBitRotate::rotr

fn rotr(x: u256, n: u8) -> u256