Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

U256BitRotate

Fully qualified path: alexandria_math::U256BitRotate

pub impl U256BitRotate of BitRotate<u256>;

Impl functions

rotate_left

Fully qualified path: alexandria_math::U256BitRotate::rotate_left

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

rotate_right

Fully qualified path: alexandria_math::U256BitRotate::rotate_right

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